Hi Leo,

>  Router::connect('/pages/*', array('controller' => 'pages', 'action'
>  => 'display'));

It's the above route he's trying to avoid. He wants to have:

Router::connect('/*', array('controller' => 'pages', 'action'=> 'display'));

but you can't do that unless you create a route for all your
controllers/actions, as this overrides them all. Hence the need to
create a route for each page via the component.

cheers,

Jon


-- 

jon bennett
w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett

--~--~---------~--~----~------------~-------~--~----~
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