Class: ActionController::Filters::ClassMethods::AfterFilterProxy

Inherits:
FilterProxy show all
Defined in:
lib/action_controller/filters.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from Filter

#excluded_actions, #filter, #included_actions

Instance Method Summary collapse

Methods inherited from FilterProxy

#filter

Methods inherited from Filter

#after?, #around?, #before?, #initialize

Constructor Details

This class inherits a constructor from ActionController::Filters::ClassMethods::Filter

Instance Method Details

#call(controller) ⇒ Object



461
462
463
464
# File 'lib/action_controller/filters.rb', line 461

def call(controller)
  yield
  run(controller)
end

#run(controller) ⇒ Object



457
458
459
# File 'lib/action_controller/filters.rb', line 457

def run(controller)
  @filter.call(controller)
end

#typeObject



453
454
455
# File 'lib/action_controller/filters.rb', line 453

def type
  :after
end