Mercurial > rsstweet
view config/initializers/request_forgery_protection.rb @ 148:c57e51af4692
Update with latest rails
Not sure why "rails" is specifically required now.
author | nanaya <me@nanaya.pro> |
---|---|
date | Sat, 13 Jan 2018 03:16:17 +0900 |
parents | 257910c60eb3 |
children |
line wrap: on
line source
# Be sure to restart your server when you modify this file. # Enable origin-checking CSRF mitigation. Rails.application.config.action_controller.forgery_protection_origin_check = true