@@ -21,7 +21,7 @@ def nonced_style_tag(content_or_options = {}, &block)
2121 def nonced_stylesheet_link_tag ( *args , &block )
2222 opts = extract_options ( args ) . merge ( nonce : _content_security_policy_nonce ( :style ) )
2323
24- stylesheet_link_tag ( *args , opts , &block )
24+ stylesheet_link_tag ( *args , ** opts , &block )
2525 end
2626
2727 # Public: create a script tag using the content security policy nonce.
@@ -39,7 +39,7 @@ def nonced_javascript_tag(content_or_options = {}, &block)
3939 def nonced_javascript_include_tag ( *args , &block )
4040 opts = extract_options ( args ) . merge ( nonce : _content_security_policy_nonce ( :script ) )
4141
42- javascript_include_tag ( *args , opts , &block )
42+ javascript_include_tag ( *args , ** opts , &block )
4343 end
4444
4545 # Public: create a script Webpacker pack tag using the content security policy nonce.
@@ -49,7 +49,7 @@ def nonced_javascript_include_tag(*args, &block)
4949 def nonced_javascript_pack_tag ( *args , &block )
5050 opts = extract_options ( args ) . merge ( nonce : _content_security_policy_nonce ( :script ) )
5151
52- javascript_pack_tag ( *args , opts , &block )
52+ javascript_pack_tag ( *args , ** opts , &block )
5353 end
5454
5555 # Public: create a stylesheet Webpacker link tag using the content security policy nonce.
@@ -59,7 +59,7 @@ def nonced_javascript_pack_tag(*args, &block)
5959 def nonced_stylesheet_pack_tag ( *args , &block )
6060 opts = extract_options ( args ) . merge ( nonce : _content_security_policy_nonce ( :style ) )
6161
62- stylesheet_pack_tag ( *args , opts , &block )
62+ stylesheet_pack_tag ( *args , ** opts , &block )
6363 end
6464
6565 # Public: use the content security policy nonce for this request directly.
0 commit comments