Module: SimpleController::Base::Callbacks

Extended by:
ActiveSupport::Concern
Includes:
ActiveSupport::Callbacks
Included in:
SimpleController::Base
Defined in:
lib/simple_controller/base/callbacks.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#call_action(*args) ⇒ Object

Override SimpleController::Base’s call to run the call callbacks around the normal behavior.



18
19
20
21
22
# File 'lib/simple_controller/base/callbacks.rb', line 18

def call_action(*args)
  run_callbacks(:call_action) do
    super
  end
end