Hi, I'm can't figure out how to change the routing for paginate URLs so that they are easier to read.
The default is something like this. http://www.example.com/documents/index/page:1/sort:title/direction:asc I would like my URLs to read like this http://www.example.com/documents/1/viewed/asc So I created this Router::connect rule, but it doesn't work. Router::connect('/documents/:page/:sort/:direction', array('controller' => 'news', 'action'=>'index')); I tried many other things, but I can't figure out what I'm doing wrong. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
