Module: AbstractController::Callbacks

Extended by:
ActiveSupport::Concern
Includes:
ActiveSupport::Callbacks
Included in:
ActionController::RequestForgeryProtection
Defined in:
lib/abstract_controller/callbacks.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#process_action(method_name, *args) ⇒ Object

Override AbstractController::Base’s process_action to run the process_action callbacks around the normal behavior.



16
17
18
19
20
# File 'lib/abstract_controller/callbacks.rb', line 16

def process_action(method_name, *args)
  run_callbacks(:process_action, method_name) do
    super
  end
end