Commit 1ac69a5e authored by Himanshu Kapoor's avatar Himanshu Kapoor

Add Web IDE dark theme feature flag

Add feature flag to support dark theme in the Web IDE
parent a192c643
...@@ -6,6 +6,10 @@ class IdeController < ApplicationController ...@@ -6,6 +6,10 @@ class IdeController < ApplicationController
include ClientsidePreviewCSP include ClientsidePreviewCSP
include StaticObjectExternalStorageCSP include StaticObjectExternalStorageCSP
before_action do
push_frontend_feature_flag(:webide_dark_theme)
end
def index def index
Gitlab::UsageDataCounters::WebIdeCounter.increment_views_count Gitlab::UsageDataCounters::WebIdeCounter.increment_views_count
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment