Thanks a lot for your reply, JamesF. :-D
I had written this in my routes.php:
Router::connect('/countries/france/list', array('controller' =
'france', 'action' = 'list'));
Insted of:
Router::connect('/countries/france/list/*', array('controller' =
'france', 'action' = 'list'));
Regards.
doh!
On Jul 30, 4:52 am, jordicakephp jordicake...@gmail.com wrote:
Thanks a lot for your reply, JamesF. :-D
I had written this in my routes.php:
Router::connect('/countries/france/list', array('controller' =
'france', 'action' = 'list'));
Insted of:
Good morning everybody,
I've organized my controllers in a manner similar to the following:
/countries
/africa
/america
/europe
/france
/italy
/spain
And I've created them in their respective folders. Consequently, I've
in your routes config
//put this after your defined routes so the router knows you are
passing page numbers like /url/page:2 /url/page:3 etc
Router::connectNamed(array('page'));
if you do not specify this your paginated urls will default to /
controller/action
instead of your fancy route.