From 712c9fca1b824c3fc44322465df69a817a6661c2 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Wed, 13 Dec 2017 15:47:42 -0500 Subject: [PATCH] sorry rubocop --- app/models/topic_link_click.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/topic_link_click.rb b/app/models/topic_link_click.rb index 1e98ec4615a..3afce0bfbd5 100644 --- a/app/models/topic_link_click.rb +++ b/app/models/topic_link_click.rb @@ -36,7 +36,7 @@ class TopicLinkClick < ActiveRecord::Base # link can have query params, and analytics can add more to the end: i = url.length - while i = url.rindex('&', i-1) + while i = url.rindex('&', i - 1) urls << url[0...i] end