1 answer
-1 votes
beforeFilter breaks redirect
If you have declared the beforeFilter method in one of your controllers and try to do a redirection using the controllers redirect method in some other method say index, you might get the following error:
Warning (2): Cannot modify header... 1 answer
0 votes
A simple question on app_controller.php
First of all thank you for taking time to read my problem.
I've created a class /app/app_controller.php and an error page at /app/views/errors/maintenance.ctp.
The problem is the cakeError does not seem to work. Does anyone here know something to...
2 answers
0 votes
How to perform certin task for admin route actions
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...