Skip to content

Commit b18d3eb

Browse files
authored
Update named_overrides_and_appends.md
1 parent 08e7388 commit b18d3eb

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

docs/named_overrides_and_appends.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,6 @@ class ApplicationController < ActionController::Base
7676
SecureHeaders::Configuration.override(:script_from_otherdomain_com) do |config|
7777
config.csp[:script_src] << "otherdomain.com"
7878
end
79-
80-
# overrides the :script_from_otherdomain_com configuration
81-
SecureHeaders::Configuration.override(:another_config, :script_from_otherdomain_com) do |config|
82-
config.csp[:script_src] << "evenanotherdomain.com"
83-
end
8479
end
8580

8681
class MyController < ApplicationController

0 commit comments

Comments
 (0)