Class: Decidim::ManifestsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Decidim::ManifestsController
- Defined in:
- app/controllers/decidim/manifests_controller.rb
Overview
A controller to serve the manifest file for PWA
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
6 7 8 9 |
# File 'app/controllers/decidim/manifests_controller.rb', line 6 def show organization_presenter = OrganizationPresenter.new(current_organization) render layout: false, locals: { organization_params: organization_presenter }, content_type: "application/manifest+json" end |