diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-22 06:13:39 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-22 06:13:39 +0000 |
commit | 589ee0e419426e5b740c61b25a3fcfabd1d4c6a6 (patch) | |
tree | 38aad1f754aabe5feddc26ce0958ff7a4b9216e6 /app/helpers/tracking_helper.rb | |
parent | dc93436903cbc2e9deeadc620f2075941d71c559 (diff) | |
download | gitlab-ce-589ee0e419426e5b740c61b25a3fcfabd1d4c6a6.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers/tracking_helper.rb')
-rw-r--r-- | app/helpers/tracking_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/tracking_helper.rb b/app/helpers/tracking_helper.rb index 3f53bd535b2..1beb88548c5 100644 --- a/app/helpers/tracking_helper.rb +++ b/app/helpers/tracking_helper.rb @@ -13,6 +13,10 @@ module TrackingHelper } end + def tracking_attrs_data(label, action, property) + tracking_attrs(label, action, property).fetch(:data, {}) + end + private def tracking_enabled? |