Module: Authmagic::Modules::Authorization::ControllerMethods
- Defined in:
- lib/authmagic/rails/modules/authorization.rb
Class Method Summary collapse
Class Method Details
.included(other) ⇒ Object
38 39 40 41 42 43 |
# File 'lib/authmagic/rails/modules/authorization.rb', line 38 def self.included(other) other.class_eval do extend ControllerClassMethods rescue_from Unauthorized, :with => :forbid! end end |