method

before_dispatch

Importance_0
v3.0.9 - Show latest stable - 0 notes - Class: ActionController::Dispatcher
before_dispatch(*args, &block) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.