diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-03-15 23:12:48 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-03-15 23:12:48 +0100 |
commit | 6be7bde24378bcb034552248021ea2450bb10524 (patch) | |
tree | 99af4a2c5355dc7ad3fa39ed828332db24bda799 /app/controllers | |
parent | 7b58c1a694eed95e367cc8d078f91c390dffec4d (diff) |
Fix #525 - Add instance information API
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/api/v1/instances_controller.rb | 7 | ||||
-rw-r--r-- | app/controllers/api/v1/site_controller.rb | 8 |
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 |