diff options
author | Christoph Lupprich <christoph@luppri.ch> | 2017-05-28 16:24:43 +0200 |
---|---|---|
committer | Christoph Lupprich <christoph@luppri.ch> | 2017-05-28 16:41:07 +0200 |
commit | 3b2e3f01488581d9e153dcb6b8ef333bda370aa0 (patch) | |
tree | c17699636ba4612323c7e5fcac1ba0b5a7365d8a /guides | |
parent | 7eb66b1617d9bda33860ce9869b07ff1a98fbef3 (diff) | |
download | rails-3b2e3f01488581d9e153dcb6b8ef333bda370aa0.tar.gz rails-3b2e3f01488581d9e153dcb6b8ef333bda370aa0.tar.bz2 rails-3b2e3f01488581d9e153dcb6b8ef333bda370aa0.zip |
Remove mentions of deprecated callbacks on ActionDispatch::Callbacks
ActionDispatch::Callbacks.to_prepare was removed in #27587
[ci skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/configuring.md | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index bf9456a482..aced401bca 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -493,8 +493,6 @@ encrypted cookies salt value. Defaults to `'signed encrypted cookie'`. * `ActionDispatch::Callbacks.before` takes a block of code to run before the request. -* `ActionDispatch::Callbacks.to_prepare` takes a block to run after `ActionDispatch::Callbacks.before`, but before the request. Runs for every request in `development` mode, but only once for `production` or environments with `cache_classes` set to `true`. - * `ActionDispatch::Callbacks.after` takes a block of code to run after the request. ### Configuring Action View @@ -1188,7 +1186,7 @@ Below is a comprehensive list of all the initializers found in Rails in the orde * `finisher_hook`: Provides a hook for after the initialization of process of the application is complete, as well as running all the `config.after_initialize` blocks for the application, railties and engines. -* `set_routes_reloader_hook`: Configures Action Dispatch to reload the routes file using `ActionDispatch::Callbacks.to_prepare`. +* `set_routes_reloader_hook`: Configures Action Dispatch to reload the routes file using `ActiveSupport::Callbacks.to_run`. * `disable_dependency_loading`: Disables the automatic dependency loading if the `config.eager_load` is set to `true`. |