20690: Remove workbench1 and testing/packaging references.
[arvados.git] / apps / workbench / app / controllers / status_controller.rb
diff --git a/apps/workbench/app/controllers/status_controller.rb b/apps/workbench/app/controllers/status_controller.rb
deleted file mode 100644 (file)
index 0e45daa..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright (C) The Arvados Authors. All rights reserved.
-#
-# SPDX-License-Identifier: AGPL-3.0
-
-require "app_version"
-
-class StatusController < ApplicationController
-  skip_around_action :require_thread_api_token
-  skip_before_action :find_object_by_uuid
-  def status
-    # Allow non-credentialed cross-origin requests
-    headers['Access-Control-Allow-Origin'] = '*'
-    resp = {
-      apiBaseURL: arvados_api_client.arvados_v1_base.sub(%r{/arvados/v\d+.*}, '/'),
-      version: AppVersion.hash,
-    }
-    render json: resp
-  end
-end