Method: Pageflow::EntriesController#manifest
- Defined in:
- app/controllers/pageflow/entries_controller.rb
#manifest ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
42 43 44 45 46 47 48 49 50 51 52 |
# File 'app/controllers/pageflow/entries_controller.rb', line 42 def manifest respond_to do |format| format.webmanifest do entry = PublishedEntry.find(params[:id], entry_request_scope) return head :not_found unless entry.entry_type.web_app_manifest render json: entry.entry_type.web_app_manifest.call(entry) end end end |