2017-06-06 19:29:42 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2023-04-19 16:07:29 +02:00
|
|
|
class ManifestsController < ActionController::Base # rubocop:disable Rails/ApplicationController
|
2017-10-02 01:23:32 +02:00
|
|
|
def show
|
2019-07-08 12:03:45 +02:00
|
|
|
expires_in 3.minutes, public: true
|
2019-07-23 11:10:42 +02:00
|
|
|
render json: InstancePresenter.new, serializer: ManifestSerializer, root: 'instance'
|
2017-06-06 19:29:42 +02:00
|
|
|
end
|
|
|
|
end
|