view config/initializers/per_form_csrf_tokens.rb @ 107:de342c5df747

Extend cache time to up to 30 minutes
author nanaya <me@myconan.net>
date Sun, 30 Oct 2016 04:24:41 +0900
parents 257910c60eb3
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