aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2016-04-08 15:14:37 -0300
committerRafael França <rafaelmfranca@gmail.com>2016-04-08 15:14:37 -0300
commit3af29811196d6fc31fe3534a25af460948266863 (patch)
tree65c407d22e629e0f3ac06abe7382e678d55f513a /guides
parentcb95289110cf95b3faea89346be18df0409428fe (diff)
parentb8a742673dc4d2f116fb2961e6ac2a8b6c06ef36 (diff)
downloadrails-3af29811196d6fc31fe3534a25af460948266863.tar.gz
rails-3af29811196d6fc31fe3534a25af460948266863.tar.bz2
rails-3af29811196d6fc31fe3534a25af460948266863.zip
Merge pull request #24468 from RochesterinNYC/patch-2
Clarify description of `include_all_helpers` config setting's default behavior [ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/configuring.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index e80f994deb..6b9b95f1ab 100644
--- a/guides/source/configuring.md
+++ b/guides/source/configuring.md
@@ -352,7 +352,7 @@ The schema dumper adds one additional configuration option:
* `config.action_controller.default_static_extension` configures the extension used for cached pages. Defaults to `.html`.
-* `config.action_controller.include_all_helpers` configures whether all view helpers are available everywhere or are scoped to the corresponding controller. If set to `false`, `UsersHelper` methods are only available for views rendered as part of `UsersController`. If `true`, `UsersHelper` methods are available everywhere. The default is `true`.
+* `config.action_controller.include_all_helpers` configures whether all view helpers are available everywhere or are scoped to the corresponding controller. If set to `false`, `UsersHelper` methods are only available for views rendered as part of `UsersController`. If `true`, `UsersHelper` methods are available everywhere. The default configuration behavior (when this option is not explicitly set to `true` or `false`) is that all view helpers are available to each controller.
* `config.action_controller.logger` accepts a logger conforming to the interface of Log4r or the default Ruby Logger class, which is then used to log information from Action Controller. Set to `nil` to disable logging.