]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/new_framework_defaults_6_1.rb
Enable link header for asset preloading
[rails.git] / config / initializers / new_framework_defaults_6_1.rb
index 0c02a63eb70d77fed9c260d00eb2e17f9be83121..7deb71288319c72446644d268fe49c3d65150e96 100644 (file)
@@ -64,4 +64,4 @@ Rails.application.config.active_record.legacy_connection_handling = false
 
 # Generate a `Link` header that gives a hint to modern browsers about
 # preloading assets when using `javascript_include_tag` and `stylesheet_link_tag`.
-Rails.application.config.action_view.preload_links_header = true
+Rails.application.config.action_view.preload_links_header = true