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