Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-03-26 21:09:16 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-03-26 21:09:16 +0300
commit006a4f3c1c288c1ea59c3423225527897fa60d6e (patch)
treee4e0d2bb7de0b1ad82bd366088d007b9055d447a /app/helpers
parent2446c39adaea91d1120c9eb0936e93e9314171c1 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/tracking_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/tracking_helper.rb b/app/helpers/tracking_helper.rb
index 221d9692661..7957038c21e 100644
--- a/app/helpers/tracking_helper.rb
+++ b/app/helpers/tracking_helper.rb
@@ -1,13 +1,13 @@
# frozen_string_literal: true
module TrackingHelper
- def tracking_attrs(label, event, property)
+ def tracking_attrs(label, action, property)
return {} unless tracking_enabled?
{
data: {
track_label: label,
- track_event: event,
+ track_action: action,
track_property: property
}
}