# 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