Hi caker,

i try to use the Prefix Route from cake to say which of my root the admin is
but i have some issue to get to the right site because i do not wanna for
the user to say them the hole root where they have to go like this
/admin/users/login

i just wanna say add in the after .com/  admin.

i ask this because Route.prefix donĀ“t allow me if i use this url:
http://mysite.com/admin

it gives me an error back:

Private Method in UsersController

*Error: **UsersController::**admin_login()* cannot be accessed directly.
what i have to do to make it work?

i also have this in my route :

 *Router::connect('/admin', array('controller' => 'users', 'action' =>
'admin_login'));*

 be accessed directly.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to