annotate config/initializers/per_form_csrf_tokens.rb @ 445:d31511b722b5

Update gems
author nanaya <me@myconan.net>
date Thu, 02 Mar 2017 11:58:37 +0900
parents 68eb23b52864
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
431
68eb23b52864 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
1 # Be sure to restart your server when you modify this file.
68eb23b52864 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
2
68eb23b52864 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
3 # Enable per-form CSRF tokens.
68eb23b52864 Rails 5 \o/
nanaya <me@myconan.net>
parents:
diff changeset
4 Rails.application.config.action_controller.per_form_csrf_tokens = true