Hi,

What do you mean by "It can't find the users controller"? Isn't the logout
link outputting the URL correctly and/or isn't the redirection in logout()
action working correctly?

Also you have used "Configure::read('Routing.admin')" to set the
'logoutRedirect' URL but as per the
http://book.cakephp.org/view/950/Prefix-Routing, there is nothing
like 'Routing.admin' configuration option.

Amit Badkas

PHP Applications for E-Biz: http://www.sanisoft.com



On Wed, Jan 5, 2011 at 10:52 PM, John Maxim <goog...@gmail.com> wrote:

>
> 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 cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>For
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>

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