I want to route www.example.com/admin to www.example.com/admin/foo/index

so I tried the following routes, none of which work..

     $Route->connect('/admin/', array('controller' => 'foo', 'action'
=> 'admin_index')) // gives me a Private Method in Controller error
     $Route->connect('/admin/', array('controller' => 'foo', 'action'
=> 'index'))  //kinda works, but doesn't connect me to
Foo::admin_index() but rather just Foo::index()

Is it possible to do what I am looking for here?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to