gitlab-org--gitlab-foss/app/controllers/ide_controller.rb

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