mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
sorry rubocop
This commit is contained in:
parent
3f1d6a302e
commit
712c9fca1b
@ -36,7 +36,7 @@ class TopicLinkClick < ActiveRecord::Base
|
|||||||
|
|
||||||
# link can have query params, and analytics can add more to the end:
|
# link can have query params, and analytics can add more to the end:
|
||||||
i = url.length
|
i = url.length
|
||||||
while i = url.rindex('&', i-1)
|
while i = url.rindex('&', i - 1)
|
||||||
urls << url[0...i]
|
urls << url[0...i]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user