Hey thats great, thanx works like a charm! Can someone also tell me what is happening here...?!
On 3 sep, 20:39, Nate <[EMAIL PROTECTED]> wrote: > Router::connect( > "/view/:id", > array("controller" => "posts", "action" => "view"), > array('id' => '[0-9]+', 'pass' => array('id')) > ); > > On Sep 3, 1:37 pm, aka <[EMAIL PROTECTED]> wrote: > > > Ok, i've been breaking my head over this. > > > I'm trying to change the routing of my app so that (for my base > > controller, lets say 'posts') it will be hidden in the url. That is to > > say that i can use url's > > likewww.mysite.com/view/1insteadofwww.mysite.com/posts/view/1. Effectively > > just hiding (or re-routing) > > the controller. Now I know this is possible since this method is used > > on the cakephp website itself > > (i.e.http://book.cakephp.org/view/542). > > > Any ideas how the routes for this situation should be set up? > > > Thanx! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---