summaryrefslogtreecommitdiff
path: root/lib/gitlab/tracking.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/tracking.rb')
-rw-r--r--lib/gitlab/tracking.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/gitlab/tracking.rb b/lib/gitlab/tracking.rb
index 9a7b4cc65f6..37688d6e0e7 100644
--- a/lib/gitlab/tracking.rb
+++ b/lib/gitlab/tracking.rb
@@ -9,13 +9,6 @@ module Gitlab
module ControllerConcern
extend ActiveSupport::Concern
- included do
- # Tracking events from the template is not ideal and we are moving this to the client in https://gitlab.com/gitlab-org/gitlab/-/issues/213712
- # In the meantime, using this method from the view is frowned upon and this line will likely be removed
- # in the near future
- helper_method :track_event
- end
-
protected
def track_event(action = action_name, **args)