diff options
author | Vipul A M <vipulnsward@gmail.com> | 2018-12-08 07:15:30 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-08 07:15:30 +0900 |
commit | 90c19240c5b5ea9244a9e7373cd8b90cfeafefc5 (patch) | |
tree | 32c62cc011a983fd3cf831fbd0c7b9c36a889c27 | |
parent | de06d7673eb81fd5d6090e567335daf598790680 (diff) | |
parent | af90af42a748551d6dd2690be313186e7b0d8301 (diff) | |
download | rails-90c19240c5b5ea9244a9e7373cd8b90cfeafefc5.tar.gz rails-90c19240c5b5ea9244a9e7373cd8b90cfeafefc5.tar.bz2 rails-90c19240c5b5ea9244a9e7373cd8b90cfeafefc5.zip |
Merge pull request #34654 from rantler/fix_small_typo_in_upgrade_docs
Fix typo in per-form CSRF token docs [ci skip]
-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 |