2018-09-14 01:42:05 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-03-20 10:12:48 -04:00
|
|
|
class IdeController < ApplicationController
|
2018-08-31 06:19:55 -04:00
|
|
|
layout 'fullscreen'
|
2018-03-20 10:12:48 -04:00
|
|
|
|
2020-03-12 17:09:45 -04:00
|
|
|
include ClientsidePreviewCSP
|
2020-02-22 19:09:14 -05:00
|
|
|
include StaticObjectExternalStorageCSP
|
|
|
|
|
2018-03-20 10:12:48 -04:00
|
|
|
def index
|
2019-07-19 07:11:27 -04:00
|
|
|
Gitlab::UsageDataCounters::WebIdeCounter.increment_views_count
|
2018-03-20 10:12:48 -04:00
|
|
|
end
|
|
|
|
end
|
2019-09-13 09:26:31 -04:00
|
|
|
|
|
|
|
IdeController.prepend_if_ee('EE::IdeController')
|