summaryrefslogtreecommitdiff
path: root/app/controllers/projects/usage_ping_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/projects/usage_ping_controller.rb')
-rw-r--r--app/controllers/projects/usage_ping_controller.rb21
1 files changed, 0 insertions, 21 deletions
diff --git a/app/controllers/projects/usage_ping_controller.rb b/app/controllers/projects/usage_ping_controller.rb
deleted file mode 100644
index 77ee53f2e5d..00000000000
--- a/app/controllers/projects/usage_ping_controller.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# frozen_string_literal: true
-
-class Projects::UsagePingController < Projects::ApplicationController
- before_action :authenticate_user!
-
- feature_category :usage_ping
-
- def web_ide_clientside_preview
- return render_404 unless Gitlab::CurrentSettings.web_ide_clientside_preview_enabled?
-
- Gitlab::UsageDataCounters::WebIdeCounter.increment_previews_count
-
- head(200)
- end
-
- def web_ide_pipelines_count
- Gitlab::UsageDataCounters::WebIdeCounter.increment_pipelines_count
-
- head(200)
- end
-end