Pathname issues when combining relative assets and cache buster

This commit is contained in:
Thomas Reynolds 2013-02-09 15:37:08 -08:00
parent c9290c6b11
commit 76d09a4964

View file

@ -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