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