Parent

Class/Module Index [+]

Quicksearch

ActionController::Dispatcher

Public Class Methods

after_dispatch(*args, &block) click to toggle source
# File lib/action_controller/deprecated/dispatcher.rb, line 10
def after_dispatch(*args, &block)
  ActiveSupport::Deprecation.warn "ActionController::Dispatcher.after_dispatch is deprecated. " <<
    "Please use ActionDispatch::Callbacks.after instead.", caller
  ActionDispatch::Callbacks.after(*args, &block)
end
before_dispatch(*args, &block) click to toggle source
# File lib/action_controller/deprecated/dispatcher.rb, line 4
def before_dispatch(*args, &block)
  ActiveSupport::Deprecation.warn "ActionController::Dispatcher.before_dispatch is deprecated. " <<
    "Please use ActionDispatch::Callbacks.before instead.", caller
  ActionDispatch::Callbacks.before(*args, &block)
end
new() click to toggle source
# File lib/action_controller/deprecated/dispatcher.rb, line 22
def new
  ActiveSupport::Deprecation.warn "ActionController::Dispatcher.new is deprecated, use Rails.application instead."
  Rails.application
end
to_prepare(*args, &block) click to toggle source
# File lib/action_controller/deprecated/dispatcher.rb, line 16
def to_prepare(*args, &block)
  ActiveSupport::Deprecation.warn "ActionController::Dispatcher.to_prepare is deprecated. " <<
    "Please use config.to_prepare instead", caller
  ActionDispatch::Callbacks.after(*args, &block)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.