Thanks for the response, although I have to say that it help only partially.
Maybe my fault since
I forgot to mention also that I'm using the ACL Plugin and that the URL in
the admin reads:
[www.example.com/admin/acl/acos] at the time I attempt to logout.
BTW, adding the ['router'=>'0'] takes me to:
[www.example.com/acl/users/logout] notice the 'acl'
closer that the previous that was:
[www.example.com/admin/acl/users/logout]
but not quite there.
So, I realized that using the straight path works just fine, but not sure is
the best approach.
$this->Html->link('Logout','/users/logout');
Comments pls… also couldn't find in the documentation about using the
'admin=0' to collapse the URL, and I would very much appreciate a pointer to
some literature that explains it, since it seems useful.
thanks again,
-----
Sergio
"Be kind whenever possible. It is always possible." - 14th DL
--
View this message in context:
http://cakephp.1045679.n5.nabble.com/Logging-out-from-Admin-that-should-point-to-App-Users-Controller-tp3329158p4306148.html
Sent from the CakePHP mailing list archive at Nabble.com.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php