From: Tom Hughes Date: Mon, 21 Feb 2022 18:43:59 +0000 (+0000) Subject: Default to not specifying media restrictions on stylesheet tags X-Git-Tag: live~1231 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/999ebb1bf202cef5d6f04bcb6791ce22beaeb22e Default to not specifying media restrictions on stylesheet tags --- 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