summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-04-13 18:09:35 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-04-13 18:09:35 +0000
commit6ce0f44c6b2c2af48c7ef4fef97913d054088deb (patch)
treef2c44edcf88c3bafea5e25229888911e0900675b /app/controllers
parentb77fb04678a4e76d025048e9846adc2ac709414a (diff)
downloadgitlab-ce-6ce0f44c6b2c2af48c7ef4fef97913d054088deb.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/ide_controller.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/controllers/ide_controller.rb b/app/controllers/ide_controller.rb
index 8a838db04f9..bffbdf01f8f 100644
--- a/app/controllers/ide_controller.rb
+++ b/app/controllers/ide_controller.rb
@@ -6,6 +6,10 @@ class IdeController < ApplicationController
include ClientsidePreviewCSP
include StaticObjectExternalStorageCSP
+ before_action do
+ push_frontend_feature_flag(:webide_dark_theme)
+ end
+
def index
Gitlab::UsageDataCounters::WebIdeCounter.increment_views_count
end