Just setup a custom route for users controller as below:

Router::connect('/admin',    array('controller' => 'admins', 'action'
=> 'dashboard', 'admin'));

The cakphp router will work property if i enter the url as '/admin/'
or '/member/'. But if without the trailing '/', the cakephp is looking
for a controller named "admin" with action "index", as a result,
missing controller error is thrown.

Any Idea to make cakephp will route to the expected controller, in my
case is "admins", with and without the trailing '/'.

Thanks.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to