debian-mirror-gitlab/app/controllers/ide_controller.rb
2020-04-08 18:37:08 +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')