I have an app (it's in in a subdirectory called survey).

I would like survey/admin to go to survey/admin/surveys/index

I tried creating a route by putting adding this to routes.php
 $Route->connect ('/admin', array('controller'=>'surveys',
'action'=>'admin_index'));

and get a message that "the private class method admin_index should
not be accessed directly"

Is there a way to do this?

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