From abd16ca6ead3c196576498caaee9d32f8cbca2ba Mon Sep 17 00:00:00 2001 From: Neil Matatall Date: Thu, 18 Jun 2015 12:55:42 -0700 Subject: [PATCH] update docs --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 05ef4138..5ecb8739 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,7 @@ This gem makes a few assumptions about how you will use some features. For exam config.x_permitted_cross_domain_policies = 'none' config.csp = { :default_src => "https: self", + :enforce => proc {|controller| contoller.current_user.enforce_csp? } :frame_src => "https: http:.twimg.com http://itunes.apple.com", :img_src => "https:", :report_uri => '//example.com/uri-directive'