diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2017-05-28 17:26:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-28 17:26:48 +0200 |
commit | c17a670a2161c7e4deb462aea5dd25b7f92e5e05 (patch) | |
tree | 66c0d8245a77d2b889efe6140102592cb7fb6e9c /guides | |
parent | 17223043959dfbd3b23646b7db01cf3119ad7943 (diff) | |
parent | 3b2e3f01488581d9e153dcb6b8ef333bda370aa0 (diff) | |
download | rails-c17a670a2161c7e4deb462aea5dd25b7f92e5e05.tar.gz rails-c17a670a2161c7e4deb462aea5dd25b7f92e5e05.tar.bz2 rails-c17a670a2161c7e4deb462aea5dd25b7f92e5e05.zip |
Merge pull request #29257 from clupprich/remove-action-dispatch-callbacks-to-prepare-mention
Remove mentions of deprecated callbacks on ActionDispatch::Callbacks
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 6a7eaf00e1..1234e1f192 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -497,8 +497,6 @@ Defaults to `'signed 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 @@ -1192,7 +1190,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`. |