module AbstractController::Callbacks

Abstract Controller Callbacks

Abstract Controller provides hooks during the life cycle of a controller action. Callbacks allow you to trigger logic during this cycle. Available callbacks are:

NOTE: Calling the same callback multiple times will overwrite previous callback definitions.

Public Instance Methods

process_action(*args) click to toggle source

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

Calls superclass method
# File lib/abstract_controller/callbacks.rb, line 39
def process_action(*args)
  run_callbacks(:process_action) do
    super
  end
end