I'm working on a new app, and I'm having trouble with routes and admin
routing.  I have a route setup for my non-admin users:

Router::connect('/', array('controller' => 'tips', 'action' =>
'add'));

This works great.  When a user connects to my site, they automatically
go to the /tips/add page.

I want to do the same thing for admin routing - setup a route that
directs /admin/ to /admin/tips/index.

I can't get it to work correctly.  I tried this:

Router::connect('/admin/', array('controller' => 'tips', 'action' =>
'admin_index'));

admin_index is considered private, so I can't call this function.  Any
ideas?

Thanks!
hydra12


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

Reply via email to