Skip to content

Commit abd16ca

Browse files
committed
update docs
1 parent f2fb777 commit abd16ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ This gem makes a few assumptions about how you will use some features. For exam
4949
config.x_permitted_cross_domain_policies = 'none'
5050
config.csp = {
5151
:default_src => "https: self",
52+
:enforce => proc {|controller| contoller.current_user.enforce_csp? }
5253
:frame_src => "https: http:.twimg.com http://itunes.apple.com",
5354
:img_src => "https:",
5455
:report_uri => '//example.com/uri-directive'

0 commit comments

Comments
 (0)