debian-mirror-gitlab/app/controllers/ide_controller.rb
2020-05-24 23:13:21 +05:30

14 lines
310 B
Ruby

# frozen_string_literal: true
class IdeController < ApplicationController
layout 'fullscreen'
include ClientsidePreviewCSP
include StaticObjectExternalStorageCSP
def index
Gitlab::UsageDataCounters::WebIdeCounter.increment_views_count
end
end
IdeController.prepend_if_ee('EE::IdeController')