diff options
author | Luke Bennett <lbennett@gitlab.com> | 2019-06-05 19:28:41 +0300 |
---|---|---|
committer | Mayra Cabrera <mcabrera@gitlab.com> | 2019-06-05 19:28:41 +0300 |
commit | 0b0f39c5737265eb796040d13f6411f0c6b17708 (patch) | |
tree | 6c1ebf7e4cdaadcaab38cedfbe4dc77c2ab82824 /app/helpers | |
parent | 327c7d5a07fa08276a52b6a2bfdf79eee812a2cd (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')
-rw-r--r-- | app/helpers/tracking_helper.rb | 7 |
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 |