chrisboyle / cbn

Rails 2.x project for my own site
http://chris.boyle.name/projects/cbn
MIT License
1 stars 0 forks source link

permitted_to error #17

Closed chrisboyle closed 14 years ago

chrisboyle commented 14 years ago

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.)

chrisboyle commented 14 years ago

Fixed by commit 56763d2a280ae6aa9b398e3d60e50fa973cce6d5.