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