Module: Aikido::Zen::Sinks::ActionController::Extensions
- Defined in:
- lib/aikido/zen/sinks/action_controller.rb
Instance Method Summary collapse
Instance Method Details
#run_callbacks(kind) ⇒ Object
64 65 66 67 68 69 70 71 72 |
# File 'lib/aikido/zen/sinks/action_controller.rb', line 64 def run_callbacks(kind, *) return super unless kind == :process_action super do checker = Aikido::Zen::Sinks::ActionController.block_request_checker yield if block_given? && !checker.block?(self) end end |