We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 868307f commit 9859c30Copy full SHA for 9859c30
fixtures/rails_3_2_22_no_init/app/controllers/other_things_controller.rb
@@ -9,6 +9,7 @@ def other_action
9
end
10
11
def secure_header_options_for(header, options)
12
+ warn "[DEPRECATION] secure_header_options_for will not be supported in secure_headers 3.x."
13
if params[:action] == "other_action"
14
if header == :csp
15
options.merge(:style_src => "'self'")
0 commit comments