http://book.cakephp.org/view/950/Prefix-Routing

Hi I have enabled admin/

When I'm here http://example.com/admin/acl

I find that as I click on my logout link which is currently;
controller=>users, action=>logout

It can't find the users controller, how should I change it?;

In my app controller I have this:

$this->Auth->logoutRedirect = array(Configure::read('Routing.admin')
=> false, 'controller' => 'users', 'action' => 'login')

But it still doesn't work, my logout function:
this->redirect($this->Auth->logout());

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 [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