Module: Critic::Callbacks
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/critic/callbacks.rb
Overview
Adds callbacks to Policy#authorize
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#process_authorization ⇒ Object
102 103 104 |
# File 'lib/critic/callbacks.rb', line 102 def (*) run_callbacks(:authorize) { super } end |