I have a similar problem trying to use the built in admin routes:
I have a controller named "Home" with an "index" action and a
"admin_index" action.
For the front end I have this route which works fine:
$Route->connect ('/', array('controller'=>'home', 'action'=>'index'));
But for the admin I tried this which gives me a "Trying to access
private method in class":
$Route->connect ('admin/', array('controller'=>'home',
'action'=>'admin_index'));
I ended up making a dummy "admin" controller with a single index action
which just does a $this->redirect('/admin/home/'); Does anybody know
the right 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 [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
-~----------~----~----~----~------~----~------~--~---