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:
authorLuke Bennett <lbennett@gitlab.com>2019-06-05 19:28:41 +0300
committerMayra Cabrera <mcabrera@gitlab.com>2019-06-05 19:28:41 +0300
commit0b0f39c5737265eb796040d13f6411f0c6b17708 (patch)
tree6c1ebf7e4cdaadcaab38cedfbe4dc77c2ab82824 /app/helpers/tracking_helper.rb
parent327c7d5a07fa08276a52b6a2bfdf79eee812a2cd (diff)
Add snowplow haml attr helper
Helps build a hash of snowplow tracking data attrs. Updates import project pane to use new helper.
Diffstat (limited to 'app/helpers/tracking_helper.rb')
-rw-r--r--app/helpers/tracking_helper.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/helpers/tracking_helper.rb b/app/helpers/tracking_helper.rb
new file mode 100644
index 00000000000..51ea79d1ddd
--- /dev/null
+++ b/app/helpers/tracking_helper.rb
@@ -0,0 +1,7 @@
+# frozen_string_literal: true
+
+module TrackingHelper
+ def tracking_attrs(label, event, property)
+ {} # CE has no tracking features
+ end
+end