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:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-11-24 21:09:57 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-11-24 21:09:57 +0300
commit80b22a4413679216b470c7a4e9fefd0eb928add5 (patch)
tree909b8eb16b9316d5260e609b11d0eb7d8dc03323 /app/controllers
parent92849dc177d5e0d11f89b4ca75f4e3e45ad6341b (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects/environments_controller.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/controllers/projects/environments_controller.rb b/app/controllers/projects/environments_controller.rb
index 4b2749dc716..8cdd6efa7c5 100644
--- a/app/controllers/projects/environments_controller.rb
+++ b/app/controllers/projects/environments_controller.rb
@@ -14,6 +14,10 @@ class Projects::EnvironmentsController < Projects::ApplicationController
push_frontend_feature_flag(:k8s_watch_api, project)
end
+ before_action only: [:folder] do
+ push_frontend_feature_flag(:environments_folder_new_look, project)
+ end
+
before_action :authorize_read_environment!
before_action :authorize_create_environment!, only: [:new, :create]
before_action :authorize_stop_environment!, only: [:stop]