Class: ActionController::Filters::BeforeFilter
- Inherits:
-
Filter
- Object
- ActiveSupport::Callbacks::Callback
- Filter
- ActionController::Filters::BeforeFilter
show all
- Defined in:
- lib/action_controller/filters.rb
Overview
Instance Method Summary
collapse
Methods inherited from Filter
#after?, #around?, #before?
Instance Method Details
#call(controller, &block) ⇒ Object
429
430
431
432
433
434
|
# File 'lib/action_controller/filters.rb', line 429
def call(controller, &block)
super
if controller.send!(:performed?)
controller.send!(:halt_filter_chain, method, :rendered_or_redirected)
end
end
|
425
426
427
|
# File 'lib/action_controller/filters.rb', line 425
def type
:before
end
|