Hi, In the controller there is some actions with the prefix admin_, and we know they are meant by admin route for the application.
**My question is: how to invoke some of code before all of these admin_actions?!** //For instance, I'd like to check the privileges of the user and see if he/her is administrator or not to proceed further to see the admin area. (I already know how, but I don't want to repeat this code for every admin_action. I prefer to place this code in the beforeFilter of the app_controller)// 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