I've got the following code in routes.php:
$Route->connect('/admin', array('controller' => 'users', 'action' =>
'login'));
$Route->connect('/', array('controller' => 'pages', 'action' =>
'display', 'home'));
$Route->connect('/pages/*', array('controller' => 'pages', 'action' =>
'display'));
$Route->connect('/tests', array('controller' => 'tests', 'action' =>
'index'));
I'm using the OthAuth-component.
And the default admin routing CAKE_ADMIN is turned on, in core.php.
Due to the default admin routing the login method is called
admin_login.
I would love to use the following link so an admin gets redirected to /
admin/users/login
<mysite>/admin
When using the link above I get the following message.
"Missing Method in UsersController"
Anybody?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---