Skip to content

Commit 3af2981

Browse files
committed
Merge pull request rails#24468 from RochesterinNYC/patch-2
Clarify description of `include_all_helpers` config setting's default behavior [ci skip]
2 parents cb95289 + b8a7426 commit 3af2981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/configuring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ The schema dumper adds one additional configuration option:
352352

353353
* `config.action_controller.default_static_extension` configures the extension used for cached pages. Defaults to `.html`.
354354

355-
* `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`.
355+
* `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.
356356

357357
* `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.
358358

0 commit comments

Comments
 (0)