Back
filters()
Tells CFWheels to run a function before an action is run or after an action has been run.
// Always execute `restrictAccess` before all actions in this controller. filters("restrictAccess"); // Always execute `isLoggedIn` and `checkIPAddress` (in that order) before all actions in this controller, except the `home` and `login` actions. filters(through="isLoggedIn, checkIPAddress", except="home, login");
Copied!