If you need to do this for every controller in your application put it in the AppController::beforeFilter() in app/app_controller.php (creat this file if it does not exist).
Geoff -- http://lemoncake.wordpress.com On Jul 16, 3:24 pm, Walker Hamilton <[EMAIL PROTECTED]> wrote: > Look into the beforeFilter function. > > You can do a redirect in it if the person is trying to access a > controller they should not be. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
