I hadn't tried to use admin routes in cakephp yet. When i first read
about I believed that I would get through it quickly but no ....

I cant figure out a way to let all my actions, without the admin
prefix, be accessed without a user logged in, authenticated by the
Auth component.

I already added this config in core.php, routes.php and
app_controller.php respectively

Configure::write('Routing.prefixes', array('admin'));
Router::connect("/admin/:controller/:action/*", array('prefix' =>
'admin', 'admin' => true));
var $components = array('Session', 'Auth');


And the official doc is not clear about how to config this situation,
or maybe I'm really missing something. I'm kind of stuck again in
cakephp

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