I have turned on admin routing and I have put the following in my
routes.php file:
Router::connect('/admin', array('controller' => 'dashboard', 'action'
=> 'admin_index'));
The problem is that I get the following error:
Error: DashboardController::admin_index() cannot be accessed directly.
How do I fix this? Thanks for any help you can provide me with.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---