2018-09-14 05:42:05 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-03-20 14:12:48 +00:00
|
|
|
class IdeController < ApplicationController
|
2018-08-31 10:19:55 +00:00
|
|
|
layout 'fullscreen'
|
2018-03-20 14:12:48 +00:00
|
|
|
|
2020-03-12 21:09:45 +00:00
|
|
|
include ClientsidePreviewCSP
|
2020-02-23 00:09:14 +00:00
|
|
|
include StaticObjectExternalStorageCSP
|
|
|
|
|
2020-05-25 15:07:58 +00:00
|
|
|
before_action do
|
|
|
|
push_frontend_feature_flag(:build_service_proxy)
|
2020-07-10 12:09:15 +00:00
|
|
|
push_frontend_feature_flag(:schema_linting)
|
2020-05-25 15:07:58 +00:00
|
|
|
end
|
|
|
|
|
2020-10-05 12:08:47 +00:00
|
|
|
feature_category :web_ide
|
|
|
|
|
2018-03-20 14:12:48 +00:00
|
|
|
def index
|
2019-07-19 11:11:27 +00:00
|
|
|
Gitlab::UsageDataCounters::WebIdeCounter.increment_views_count
|
2018-03-20 14:12:48 +00:00
|
|
|
end
|
|
|
|
end
|