Module: AbstractController::Callbacks

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

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#process_action(*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(*args)
  run_callbacks(:process_action, action_name) do
    super
  end
end