server_path: fix

This commit is contained in:
Denis Knauf 2013-01-21 13:11:05 +01:00
parent 79bf17fcd7
commit 404ff9d885

View file

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