about summary refs log tree commit diff
path: root/app/controllers/api
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-03-15 23:12:48 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-03-15 23:12:48 +0100
commit6be7bde24378bcb034552248021ea2450bb10524 (patch)
tree99af4a2c5355dc7ad3fa39ed828332db24bda799 /app/controllers/api
parent7b58c1a694eed95e367cc8d078f91c390dffec4d (diff)
Fix #525 - Add instance information API
Diffstat (limited to 'app/controllers/api')
-rw-r--r--app/controllers/api/v1/instances_controller.rb7
-rw-r--r--app/controllers/api/v1/site_controller.rb8
2 files changed, 7 insertions, 8 deletions
diff --git a/app/controllers/api/v1/instances_controller.rb b/app/controllers/api/v1/instances_controller.rb
new file mode 100644
index 000000000..51d92838a
--- /dev/null
+++ b/app/controllers/api/v1/instances_controller.rb
@@ -0,0 +1,7 @@
+# frozen_string_literal: true
+
+class Api::V1::InstancesController < ApiController
+  respond_to :json
+
+  def show; end
+end
diff --git a/app/controllers/api/v1/site_controller.rb b/app/controllers/api/v1/site_controller.rb
deleted file mode 100644
index 64ca2dec1..000000000
--- a/app/controllers/api/v1/site_controller.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-# frozen_string_literal: true
-
-class Api::V1::SiteController < ApiController
-  respond_to :json
-
-  def index
-  end
-end