annotate config/initializers/per_form_csrf_tokens.rb @ 494:e508d3226214 default tip

Update gems
author nanaya <me@nanaya.net>
date Sun, 29 Oct 2023 23:24:13 +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