aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/form_helpers.md
diff options
context:
space:
mode:
authorMina Slater <slater.mina@gmail.com>2018-08-22 07:39:26 -0500
committerMina Slater <slater.mina@gmail.com>2018-08-22 07:39:26 -0500
commit7bdf43daacc2377d02bb0ef54afa9ac4dcdf8dec (patch)
treecf7003b26a54984e282b796786534b8512e5b6ee /guides/source/form_helpers.md
parent44da9eb3b919b10699c803f17295c39da5ab7523 (diff)
downloadrails-7bdf43daacc2377d02bb0ef54afa9ac4dcdf8dec.tar.gz
rails-7bdf43daacc2377d02bb0ef54afa9ac4dcdf8dec.tar.bz2
rails-7bdf43daacc2377d02bb0ef54afa9ac4dcdf8dec.zip
[ci skip] fixes awkward grammar
Diffstat (limited to 'guides/source/form_helpers.md')
-rw-r--r--guides/source/form_helpers.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/form_helpers.md b/guides/source/form_helpers.md
index 86d0e6b18b..c6b9d56fb2 100644
--- a/guides/source/form_helpers.md
+++ b/guides/source/form_helpers.md
@@ -953,7 +953,7 @@ If the associated object is already saved, `fields_for` autogenerates a hidden i
### The Controller
As usual you need to
-[allowlist the parameters](action_controller_overview.html#strong-parameters) in
+[declare the allowed parameters](action_controller_overview.html#strong-parameters) in
the controller before you pass them to the model:
```ruby
@@ -999,7 +999,7 @@ remove addresses:
<% end %>
```
-Don't forget to update the allowlisted params in your controller to also include
+Don't forget to update the permitted params in your controller to also include
the `_destroy` field:
```ruby