summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-08-19 21:10:32 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-08-19 21:10:32 +0000
commitacb2f0ab9452ced85e818d05b4bc5fcc4091959f (patch)
treee8f414d8f4c3daa415455cb772bdaa76e69f3845 /app/controllers
parent21db5294d4ba402f9d44a1f59e8344daef0911a2 (diff)
downloadgitlab-ce-acb2f0ab9452ced85e818d05b4bc5fcc4091959f.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects/wikis_controller.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/controllers/projects/wikis_controller.rb b/app/controllers/projects/wikis_controller.rb
index d1486f765e4..9ee8847004e 100644
--- a/app/controllers/projects/wikis_controller.rb
+++ b/app/controllers/projects/wikis_controller.rb
@@ -5,5 +5,9 @@ class Projects::WikisController < Projects::ApplicationController
alias_method :container, :project
+ before_action do
+ push_frontend_feature_flag(:content_editor_block_tables, @project, default_enabled: :yaml)
+ end
+
feature_category :wiki
end