diff --git a/lib/compass/configuration.rb b/lib/compass/configuration.rb index 469c9fd3..ae4f5b95 100644 --- a/lib/compass/configuration.rb +++ b/lib/compass/configuration.rb @@ -144,8 +144,9 @@ module Compass end end - def mk_http_path(path) - hp = http_path[0..-2] if http_path[-1..-1] == "/" + def root_relative(path) + hp = http_path || default_http_path + hp = hp[0..-2] if hp[-1..-1] == "/" "#{hp}/#{path}" end