diff --git a/lib/secure_headers/view_helper.rb b/lib/secure_headers/view_helper.rb
index <HASH>..<HASH> 100644
--- a/lib/secure_headers/view_helper.rb
+++ b/lib/secure_headers/view_helper.rb
@@ -83,7 +83,7 @@ module SecureHeaders
         end
       end
 
-      SecureHeaders.append_content_security_policy_directives(request, directive => [hashes[file_path]])
+      SecureHeaders.append_content_security_policy_directives(request, directive => hashes[file_path])
 
       content_tag type, content
     end
because hashes are already an array