debian-mirror-gitlab/app/controllers/ide_controller.rb

15 lines
310 B
Ruby
Raw Normal View History

2018-12-05 23:21:45 +05:30
# frozen_string_literal: true
2018-05-09 12:01:36 +05:30
class IdeController < ApplicationController
2018-11-20 20:47:30 +05:30
layout 'fullscreen'
2018-05-09 12:01:36 +05:30
2020-04-08 14:13:33 +05:30
include ClientsidePreviewCSP
include StaticObjectExternalStorageCSP
2018-05-09 12:01:36 +05:30
def index
2019-10-12 21:52:04 +05:30
Gitlab::UsageDataCounters::WebIdeCounter.increment_views_count
2018-05-09 12:01:36 +05:30
end
end
2019-12-04 20:38:33 +05:30
IdeController.prepend_if_ee('EE::IdeController')