server_path: remove extra extentions.

This commit is contained in:
Denis Knauf 2013-01-21 12:44:31 +01:00
parent 8a5db0714d
commit 57185d83a7

View file

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