debian-mirror-gitlab/app/controllers/ide_controller.rb
2021-01-30 21:13:32 +05:30

19 lines
416 B
Ruby

# frozen_string_literal: true
class IdeController < ApplicationController
layout 'fullscreen'
include ClientsidePreviewCSP
include StaticObjectExternalStorageCSP
before_action do
push_frontend_feature_flag(:build_service_proxy)
push_frontend_feature_flag(:schema_linting)
end
feature_category :web_ide
def index
Gitlab::UsageDataCounters::WebIdeCounter.increment_views_count
end
end