On Wed, Oct 13, 2010 at 12:44 PM, Raisen <[email protected]> wrote: > Oh yes, another question. According to the manual: > > You can configure the Router to use multiple prefixes too: > Plain Text View > > Router::connect('/profiles/:controller/:action/*', array('prefix' => > 'profiles', 'profiles' => true)); > > 1. Router::connect('/profiles/:controller/:action/*', > array('prefix' => 'profiles', 'profiles' => true)); > > I don't understand what that boolean assignment is for.
It means that this route has 'profile' set, just as you would do with a regular admin route. I'm not sure why it's necessary to have both that and the 'prefix' option. It does appear that 'prefix' should suffice. Unless it's possible to have a prefixed route where $prefix is false. Makes no sense to me, though. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
