2022-10-05 02:47:56 +01:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class Api::V2::InstancesController < Api::V1::InstancesController
|
|
|
|
def show
|
2023-04-25 14:41:34 +01:00
|
|
|
cache_even_if_authenticated!
|
2022-10-05 02:47:56 +01:00
|
|
|
render_with_cache json: InstancePresenter.new, serializer: REST::InstanceSerializer, root: 'instance'
|
|
|
|
end
|
|
|
|
end
|