diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-13 18:09:35 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-13 18:09:35 +0000 |
commit | 6ce0f44c6b2c2af48c7ef4fef97913d054088deb (patch) | |
tree | f2c44edcf88c3bafea5e25229888911e0900675b /app/controllers | |
parent | b77fb04678a4e76d025048e9846adc2ac709414a (diff) | |
download | gitlab-ce-6ce0f44c6b2c2af48c7ef4fef97913d054088deb.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/ide_controller.rb | 4 |
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 |