class method
self.to_prepare
Ruby on Rails 3.0.20
Since v2.2.3 Last seen in v3.0.20Signature
self.to_prepare(*args, &block)
No documentation comment.
Parameters
-
argsrest -
blockblock
Source
# File actionpack/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
Defined in actionpack/lib/action_controller/deprecated/dispatcher.rb line 16
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Dispatcher