mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: clicks counter on attachments wasn't always working
This commit is contained in:
@@ -18,7 +18,7 @@ module UrlHelper
|
||||
end
|
||||
|
||||
def schemaless(url)
|
||||
url.gsub(/^https?:/, "")
|
||||
url.sub(/^https?:/, "")
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user