diff options
author | Randy Antler <randy.antler@socrata.com> | 2018-12-07 14:08:54 -0800 |
---|---|---|
committer | Randy Antler <randy.antler@socrata.com> | 2018-12-07 14:14:02 -0800 |
commit | af90af42a748551d6dd2690be313186e7b0d8301 (patch) | |
tree | 32c62cc011a983fd3cf831fbd0c7b9c36a889c27 /guides/source | |
parent | de06d7673eb81fd5d6090e567335daf598790680 (diff) | |
download | rails-af90af42a748551d6dd2690be313186e7b0d8301.tar.gz rails-af90af42a748551d6dd2690be313186e7b0d8301.tar.bz2 rails-af90af42a748551d6dd2690be313186e7b0d8301.zip |
Fix typo in per-form CSRF token docs [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/upgrading_ruby_on_rails.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/upgrading_ruby_on_rails.md b/guides/source/upgrading_ruby_on_rails.md index a0553c1ccc..e74985c5b0 100644 --- a/guides/source/upgrading_ruby_on_rails.md +++ b/guides/source/upgrading_ruby_on_rails.md @@ -407,7 +407,7 @@ want to add this feature it will need to be turned on in an initializer. Rails 5 now supports per-form CSRF tokens to mitigate against code-injection attacks with forms created by JavaScript. With this option turned on, forms in your application will each have their -own CSRF token that is specified to the action and method for that form. +own CSRF token that is specific to the action and method for that form. config.action_controller.per_form_csrf_tokens = true |