mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 23:36:11 +08: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