instances_controller.rb 257 B

12345678
  1. # frozen_string_literal: true
  2. class Api::V2::InstancesController < Api::V1::InstancesController
  3. def show
  4. cache_even_if_authenticated!
  5. render_with_cache json: InstancePresenter.new, serializer: REST::InstanceSerializer, root: 'instance'
  6. end
  7. end