summaryrefslogtreecommitdiff
path: root/app/controllers/projects_controller.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-08-18 18:10:10 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-08-18 18:10:10 +0000
commit85f7fa54f404f28b0f351c2be0f7a6e9d74fe65f (patch)
treeb0f4a7578f374185fb649be904641cd79baa2ca0 /app/controllers/projects_controller.rb
parenta8a9c520128bffc1157db4dc1beaa215fc731c80 (diff)
downloadgitlab-ce-85f7fa54f404f28b0f351c2be0f7a6e9d74fe65f.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers/projects_controller.rb')
-rw-r--r--app/controllers/projects_controller.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb
index 10a23c0539e..ba21fbddde1 100644
--- a/app/controllers/projects_controller.rb
+++ b/app/controllers/projects_controller.rb
@@ -44,6 +44,10 @@ class ProjectsController < Projects::ApplicationController
push_frontend_feature_flag(:service_desk_custom_address, @project)
end
+ before_action only: [:edit] do
+ push_frontend_feature_flag(:approval_suggestions, @project)
+ end
+
layout :determine_layout
def index