FIX: clicks counter on attachments wasn't always working

This commit is contained in:
Régis Hanol
2015-02-22 20:47:18 +01:00
parent a2d9e4cf97
commit 20c9a312c7
7 changed files with 70 additions and 75 deletions

View File

@ -18,7 +18,7 @@ module UrlHelper
end
def schemaless(url)
url.gsub(/^https?:/, "")
url.sub(/^https?:/, "")
end
end