Currently if I do "permitted_to! :foo, :bar" , my permission_denied hook doesn't get executed. Instead I get an error trace page, or in production, the user actually gets a blank page and I get an email. This is not ok. (Filtered actions work, the problem seems specific to the "permitted_to!" function.)
Currently if I do "permitted_to! :foo, :bar" , my permission_denied hook doesn't get executed. Instead I get an error trace page, or in production, the user actually gets a blank page and I get an email. This is not ok. (Filtered actions work, the problem seems specific to the "permitted_to!" function.)