Skip to content

Commit f3c88fb

Browse files
committed
Make AssetUrlProcessor opt-in instead of opt-out
The introduction of the `AssetUrlProcessor` broke folks' assets when they upgraded sprockets-rails, and it was not released in a new major version. To remedy this, let's make `AssetUrlProcessor` be opt-in for now (i.e. in sprockets-rails v3.x) with the plan to change it to opt-out in the next major version (v4.0).
1 parent 6e3df43 commit f3c88fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/sprockets/railtie.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def configure(&block)
103103
config.assets.prefix = "/assets"
104104
config.assets.manifest = nil
105105
config.assets.quiet = false
106-
config.assets.rewrite_css_urls = true
106+
config.assets.rewrite_css_urls = false # This will default to `true` in sprockets-rails v4
107107

108108
initializer :set_default_precompile do |app|
109109
if using_sprockets4?

0 commit comments

Comments
 (0)