diff options
author | Andrew White <andrew.white@unboxed.co> | 2018-04-18 07:19:44 -0400 |
---|---|---|
committer | Andrew White <andrew.white@unboxed.co> | 2018-04-18 07:19:44 -0400 |
commit | 0ac549a49a690416865793e48bd7c3d3afe91a94 (patch) | |
tree | 74c24cc9f161111187937b29967ef1a8f45e36e0 /actionpack/lib/action_dispatch | |
parent | 0d70e3900de88a2ec8d4e0c76bd44488c1be3868 (diff) | |
download | rails-0ac549a49a690416865793e48bd7c3d3afe91a94.tar.gz rails-0ac549a49a690416865793e48bd7c3d3afe91a94.tar.bz2 rails-0ac549a49a690416865793e48bd7c3d3afe91a94.zip |
Remove unused literal introduced in #32602
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/http/content_security_policy.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/http/content_security_policy.rb b/actionpack/lib/action_dispatch/http/content_security_policy.rb index 82d348fa22..17e72b46ff 100644 --- a/actionpack/lib/action_dispatch/http/content_security_policy.rb +++ b/actionpack/lib/action_dispatch/http/content_security_policy.rb @@ -229,7 +229,6 @@ module ActionDispatch #:nodoc: def build_directives(context, nonce) @directives.map do |directive, sources| if sources.is_a?(Array) - "#{directive} #{build_directive(sources, context).join(' ')}" if nonce && nonce_directive?(directive) "#{directive} #{build_directive(sources, context).join(' ')} 'nonce-#{nonce}'" else |