Back
setFilterChain()
Use this function if you need a more low level way of setting the entire filter chain for a controller.
// Set filter chain directly in an array.
setFilterChain([
{through="restrictAccess"},
{through="isLoggedIn, checkIPAddress", except="home, login"},
{type="after", through="logConversion", only="thankYou"}
]);
Copied!