Skip to content

Commit 1c9e848

Browse files
committed
whoops, wrong delete syntax
1 parent e1926b7 commit 1c9e848

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/secure_headers/railtie.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class Railtie < Rails::Engine
99
include ::SecureHeaders
1010

1111
conflicting_headers.each do |header|
12-
Rails.application.config.action_dispatch.default_headers.delete[header]
12+
Rails.application.config.action_dispatch.default_headers.delete(header)
1313
end
1414

1515
end

0 commit comments

Comments
 (0)