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
also configured my routes.php file, writing many lines. Like these:

Router::connect('/countries/europe/france/list', array('controller' =>
'france', 'action' => 'list'));

However, when I use $paginator->numbers and paginate France, the
numbers that the application displays lead to URLs of this type:

www.myCakePHPApp.com/france/list

But I would like the numbers to lead to URLs like
www.myCakePHPApp.com/countries/europe/france/list, as I've configured
in routes.php.

What must I do to change the way Cake associates the URLs to the
numbers displayed by $paginator->numbers?

Thanks a lot in advance!, my dear baker friends.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to