Module: AbstractController::Callbacks

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

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Methods included from ActiveSupport::Concern

append_features, extended, included

Methods included from ActiveSupport::Callbacks

#run_callbacks

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 'actionpack/lib/abstract_controller/callbacks.rb', line 16

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