lib/propshaft/compilers/css_asset_urls.rb in propshaft-0.1.0 vs lib/propshaft/compilers/css_asset_urls.rb in propshaft-0.1.1
- old
+ new
@@ -5,9 +5,9 @@
@assembly = assembly
end
def compile(input)
input.gsub(/asset-path\(["']([^"')]+)["']\)/) do |match|
- %[url("/#{assembly.config.prefix}/#{assembly.load_path.find($1).digested_path}")]
+ %[url("#{assembly.config.prefix}/#{assembly.load_path.find($1).digested_path}")]
end
end
end