Pathname issues when combining relative assets and cache buster
This commit is contained in:
parent
c9290c6b11
commit
76d09a4964
|
@ -36,7 +36,7 @@ module Middleman
|
|||
path
|
||||
else
|
||||
current_dir = Pathname('/' + current_resource.destination_path)
|
||||
Pathname(path).relative_path_from(current_dir.dirname)
|
||||
Pathname(path).relative_path_from(current_dir.dirname).to_s
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue