method
before_dispatch
rails latest stable - Class:
ActionController::Dispatcher
before_dispatch(*args, &block)public
No documentation available.
# File actionpack/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