Object
# File lib/action_controller/deprecated/dispatcher.rb, line 10
10: def after_dispatch(*args, &block)
11: ActiveSupport::Deprecation.warn "ActionController::Dispatcher.after_dispatch is deprecated. " <<
12: "Please use ActionDispatch::Callbacks.after instead.", caller
13: ActionDispatch::Callbacks.after(*args, &block)
14: end
# File lib/action_controller/deprecated/dispatcher.rb, line 4 4: def before_dispatch(*args, &block) 5: ActiveSupport::Deprecation.warn "ActionController::Dispatcher.before_dispatch is deprecated. " << 6: "Please use ActionDispatch::Callbacks.before instead.", caller 7: ActionDispatch::Callbacks.before(*args, &block) 8: end
# File lib/action_controller/deprecated/dispatcher.rb, line 22
22: def new
23: ActiveSupport::Deprecation.warn "ActionController::Dispatcher.new is deprecated, use Rails.application instead."
24: Rails.application
25: end
# File lib/action_controller/deprecated/dispatcher.rb, line 16
16: def to_prepare(*args, &block)
17: ActiveSupport::Deprecation.warn "ActionController::Dispatcher.to_prepare is deprecated. " <<
18: "Please use config.to_prepare instead", caller
19: ActionDispatch::Callbacks.after(*args, &block)
20: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.