http://groups.google.com/group/cake-php/browse_thread/thread/abec423ee6a9057a
2007/9/11, guigouz <[EMAIL PROTECTED]>:
I'm writing a little catalog for a client, and setup Section and
> Product controllers with admin routing, so /admin/sections manages
> sections and /admin/products manages products
> I want to point /admin to /admin/sections, but I'm struggling with app/
> config/routes.php. Already tried:
> $Route->connect('/admin', array('controller' => 'sections', 'action'
> => 'admin','index'));
> $Route->connect('/admin', array('controller' => 'sections', 'action'
> => 'admin_index'));
> $Route->connect('/admin', array('controller' => 'sections', 'action'
> => 'admin/index'));
>
> with no luck.
>
> How should I proceed ?
>
>
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---