server_path: fix

This commit is contained in:
Denis Knauf 2013-01-21 13:08:07 +01:00
parent 57185d83a7
commit 79bf17fcd7

View file

@ -138,7 +138,7 @@ module Ace
def server_path def server_path
absolute = self.output_path.sub(/^output\//, "") absolute = self.output_path.sub(/^output\//, "")
absolute.sub! %r<(\.[^./]).[^/]$>, '\1' absolute.sub! %r<(\.[^./])\.[^/]$>, '\1'
"/#{absolute}" "/#{absolute}"
end end