2017-06-06 13:29:42 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class ManifestsController < ApplicationController
|
2019-06-10 06:28:13 -04:00
|
|
|
skip_before_action :store_current_location
|
2019-09-27 19:33:27 -04:00
|
|
|
skip_before_action :require_functional!
|
2019-06-10 06:28:13 -04:00
|
|
|
|
2017-10-01 19:23:32 -04:00
|
|
|
def show
|
2019-07-08 06:03:45 -04:00
|
|
|
expires_in 3.minutes, public: true
|
2019-07-23 05:10:42 -04:00
|
|
|
render json: InstancePresenter.new, serializer: ManifestSerializer, root: 'instance'
|
2017-06-06 13:29:42 -04:00
|
|
|
end
|
|
|
|
end
|