lib/authority/controller.rb in authority-1.0.0.pre3 vs lib/authority/controller.rb in authority-1.0.0.pre4
- old
+ new
@@ -4,10 +4,10 @@
# Gets included into the app's controllers automatically by the railtie
extend ActiveSupport::Concern
included do
- rescue_from Authority::SecurityTransgression, :with => :authority_forbidden
+ rescue_from Authority::SecurityViolation, :with => :authority_forbidden
class_attribute :authority_resource
end
module ClassMethods