From 999ebb1bf202cef5d6f04bcb6791ce22beaeb22e Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 21 Feb 2022 18:43:59 +0000 Subject: [PATCH 1/1] Default to not specifying media restrictions on stylesheet tags --- config/initializers/new_framework_defaults_7_0.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/new_framework_defaults_7_0.rb b/config/initializers/new_framework_defaults_7_0.rb index e7aff2cfe..3a44fcd00 100644 --- a/config/initializers/new_framework_defaults_7_0.rb +++ b/config/initializers/new_framework_defaults_7_0.rb @@ -14,7 +14,7 @@ # Rails.application.config.action_view.button_to_generates_button_tag = true # `stylesheet_link_tag` view helper will not render the media attribute by default. -# Rails.application.config.action_view.apply_stylesheet_media_default = false +Rails.application.config.action_view.apply_stylesheet_media_default = false # Change the digest class for the key generators to `OpenSSL::Digest::SHA256`. # Changing this default means invalidate all encrypted messages generated by -- 2.39.5