diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-20 18:40:28 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-20 18:40:28 +0300 |
commit | b595cb0c1dec83de5bdee18284abe86614bed33b (patch) | |
tree | 8c3d4540f193c5ff98019352f554e921b3a41a72 /app/controllers/users | |
parent | 2f9104a328fc8a4bddeaa4627b595166d24671d0 (diff) |
Add latest changes from gitlab-org/gitlab@15-2-stable-eev15.2.0-rc42
Diffstat (limited to 'app/controllers/users')
-rw-r--r-- | app/controllers/users/terms_controller.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/controllers/users/terms_controller.rb b/app/controllers/users/terms_controller.rb index f7eb2aad9dc..f36b140f3a2 100644 --- a/app/controllers/users/terms_controller.rb +++ b/app/controllers/users/terms_controller.rb @@ -4,6 +4,7 @@ module Users class TermsController < ApplicationController include InternalRedirect include OneTrustCSP + include GoogleAnalyticsCSP skip_before_action :authenticate_user!, only: [:index] skip_before_action :enforce_terms! @@ -13,6 +14,10 @@ module Users before_action :terms + before_action only: [:index] do + push_frontend_feature_flag(:gitlab_gtm_datalayer, type: :ops) + end + layout 'terms' feature_category :user_management |