view config/initializers/per_form_csrf_tokens.rb @ 433:b445318de858

Inheriting ApplicationRecord
author nanaya <me@myconan.net>
date Fri, 13 May 2016 03:59:50 +0900
parents 68eb23b52864
children
line wrap: on
line source

# Be sure to restart your server when you modify this file.

# Enable per-form CSRF tokens.
Rails.application.config.action_controller.per_form_csrf_tokens = true