Skip to content

Commit dcdf365

Browse files
committed
Whitespaces ✂️
1 parent 3213d2b commit dcdf365

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/sprockets/rails/asset_url_processor.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module Rails
33
# Rewrites urls in CSS files with the digested paths
44
class AssetUrlProcessor
55
REGEX = /url\(\s*["']?(?!(?:\#|data|http))([^"'\s)]+)\s*["']?\)/
6-
6+
77
def self.call(input)
88
context = input[:environment].context_class.new(input)
99
data = input[:data].gsub(REGEX) { |_match| "url(#{context.asset_path($1)})" }

0 commit comments

Comments
 (0)