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:
Diffstat (limited to 'app/controllers/groups/settings/ci_cd_controller.rb')
-rw-r--r--app/controllers/groups/settings/ci_cd_controller.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/app/controllers/groups/settings/ci_cd_controller.rb b/app/controllers/groups/settings/ci_cd_controller.rb
index 169caabf9d8..f50cdd2b1de 100644
--- a/app/controllers/groups/settings/ci_cd_controller.rb
+++ b/app/controllers/groups/settings/ci_cd_controller.rb
@@ -14,8 +14,8 @@ module Groups
feature_category :continuous_integration
before_action do
- push_frontend_feature_flag(:ci_group_env_scope_graphql, group)
push_frontend_feature_flag(:ci_variables_pages, current_user)
+ push_frontend_feature_flag(:ci_variable_drawer, current_user)
end
urgency :low
@@ -49,7 +49,6 @@ module Groups
def define_variables
define_ci_variables
- define_view_variables
end
def define_ci_variables
@@ -59,10 +58,6 @@ module Groups
.map { |variable| variable.present(current_user: current_user) }
end
- def define_view_variables
- @content_class = 'limit-container-width' unless fluid_layout
- end
-
def authorize_admin_group!
return render_404 unless can?(current_user, :admin_group, group)
end