annotate config/initializers/per_form_csrf_tokens.rb @ 456:caac9bc885b4

More font size
author nanaya <me@nanaya.pro>
date Tue, 14 Nov 2017 22:49:16 +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