diff options
author | rhenium <rhenium@rhe.jp> | 2014-10-06 08:53:22 +0900 |
---|---|---|
committer | rhenium <rhenium@rhe.jp> | 2014-10-06 08:53:22 +0900 |
commit | 5d32ae79c63074de3ab11296e4ebbe7d42f37d3b (patch) | |
tree | d697c5868f0e28efa1360da05782f5b1ef884a26 /app/controllers/application_controller.rb | |
parent | 3d1a4777e35618ae56a5e1e4d0d48451ed71c6d7 (diff) | |
download | aclog-5d32ae79c63074de3ab11296e4ebbe7d42f37d3b.tar.gz |
web: introduce Content Security Policy (CSP)
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r-- | app/controllers/application_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index db1edd8..0052b01 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,4 +1,5 @@ class ApplicationController < ActionController::Base + include SecurityHeaders include ControllerErrorHandling if Rails.env.production? protect_from_forgery with: :exception |