summaryrefslogtreecommitdiff
path: root/app/controllers/groups/settings/ci_cd_controller.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-21 06:08:58 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-21 06:08:58 +0000
commit18b8435318887d3fc6e9f9d305967a953cdd7d3f (patch)
tree28cb71f255eb364c224ff24dd085f8cd836951b1 /app/controllers/groups/settings/ci_cd_controller.rb
parent4359b9650ecf0960f04f0fd38fc25bec7b478a11 (diff)
downloadgitlab-ce-18b8435318887d3fc6e9f9d305967a953cdd7d3f.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers/groups/settings/ci_cd_controller.rb')
-rw-r--r--app/controllers/groups/settings/ci_cd_controller.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/controllers/groups/settings/ci_cd_controller.rb b/app/controllers/groups/settings/ci_cd_controller.rb
index 0e83d057484..3555528b2ef 100644
--- a/app/controllers/groups/settings/ci_cd_controller.rb
+++ b/app/controllers/groups/settings/ci_cd_controller.rb
@@ -6,6 +6,9 @@ module Groups
skip_cross_project_access_check :show
before_action :authorize_admin_group!
before_action :authorize_update_max_artifacts_size!, only: [:update]
+ before_action do
+ push_frontend_feature_flag(:new_variables_ui, @group)
+ end
def show
define_ci_variables