更改cakephp中的分页器url
我见过一些这种问题的案例,但是,我还没有找到我的具体案例 我想改变这个更改cakephp中的分页器url,url,cakephp,routes,paginator,Url,Cakephp,Routes,Paginator,我见过一些这种问题的案例,但是,我还没有找到我的具体案例 我想改变这个 http://localhost/dreyfus/trunk/home/birth/index/page:2 对此 http://localhost/dreyfus/trunk/home/cumple/index/page:2 我已经在routes.php上更改了: Router::connect('/cumple', array('controller' => 'birth', 'action' => 'i
http://localhost/dreyfus/trunk/home/birth/index/page:2
对此
http://localhost/dreyfus/trunk/home/cumple/index/page:2
我已经在routes.php上更改了:
Router::connect('/cumple', array('controller' => 'birth', 'action' => 'index'));
但这还不够
有什么建议吗
Router::connect('/cumple/*', array('controller' => 'birth', 'action' => 'index'));