OK, found the answer here: http://groups.google.com/group/cake-php/browse_thread/thread/af135e46e9acb355/93459541d5c568d9?lnk=gst&q=router+admin+routing#93459541d5c568d9
I should have spent more than 30 minutes looking for the answer . . . On Oct 25, 9:43 am, hydra12 <[EMAIL PROTECTED]> wrote: > 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 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 -~----------~----~----~----~------~----~------~--~---