server_path: remove extra extentions.

master
Denis Knauf 2013-01-21 12:44:31 +01:00
parent 8a5db0714d
commit 57185d83a7
1 changed files with 1 additions and 0 deletions

View File

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