lib/authority/controller.rb in authority-0.2.0 vs lib/authority/controller.rb in authority-0.3.0

- old
+ new

@@ -1,10 +1,10 @@ module Authority module Controller extend ActiveSupport::Concern included do - rescue_from Authority::SecurityTransgression, :with => 'forbidden' + rescue_from Authority::SecurityTransgression, :with => :authority_forbidden class_attribute :authority_resource class_attribute :authority_actions end module ClassMethods