Im trying to use pagination in a view like these:
example.com/controller/slug1/slug2
so theres no action in the url
but when i try to paginate it the best i could get was:
example.com/controller/action/slug1/slug2/page:2
Could anyone help to exclude that 'action' part of the url, please?
I've set a rule like this:
Route::connect('/:controller/:slug1/:slug2', array('action' =>
'someaction'), array('pass' => array('slug1', 'slug2')));
I also use the options on paginator to add the slugs paramters but i cant
exclude the 'action' from the url.
...
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php