diff options
author | Mina Slater <slater.mina@gmail.com> | 2018-08-22 21:52:17 -0500 |
---|---|---|
committer | Mina Slater <slater.mina@gmail.com> | 2018-08-22 21:52:17 -0500 |
commit | f1d647aeff1438beea2b5027dadb8d48e033be43 (patch) | |
tree | 0eae599a3dacfe1f417b80086b80b5eda354c787 /guides/source/configuring.md | |
parent | 0292a37533ff2b55189a42b4c01c7840d3785e23 (diff) | |
download | rails-f1d647aeff1438beea2b5027dadb8d48e033be43.tar.gz rails-f1d647aeff1438beea2b5027dadb8d48e033be43.tar.bz2 rails-f1d647aeff1438beea2b5027dadb8d48e033be43.zip |
[ci skip] corrects more grammar awkwardness, replacing denylist with restricted list and consistently use permitted
Diffstat (limited to 'guides/source/configuring.md')
-rw-r--r-- | guides/source/configuring.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index ea13420785..b53379434e 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -275,7 +275,7 @@ config.middleware.delete Rack::MethodOverride All these configuration options are delegated to the `I18n` library. -* `config.i18n.available_locales` defines the allowed available locales for the app. Defaults to all locale keys found in locale files, usually only `:en` on a new application. +* `config.i18n.available_locales` defines the permitted available locales for the app. Defaults to all locale keys found in locale files, usually only `:en` on a new application. * `config.i18n.default_locale` sets the default locale of an application used for i18n. Defaults to `:en`. @@ -444,7 +444,7 @@ The schema dumper adds two additional configuration options: * `config.action_controller.action_on_unpermitted_parameters` enables logging or raising an exception if parameters that are not explicitly permitted are found. Set to `:log` or `:raise` to enable. The default value is `:log` in development and test environments, and `false` in all other environments. -* `config.action_controller.always_permitted_parameters` sets a list of allowed parameters that are permitted by default. The default values are `['controller', 'action']`. +* `config.action_controller.always_permitted_parameters` sets a list of permitted parameters that are permitted by default. The default values are `['controller', 'action']`. * `config.action_controller.enable_fragment_cache_logging` determines whether to log fragment cache reads and writes in verbose format as follows: |