Class: Decidim::ManifestsController
- Inherits:
-
ApplicationController
- Object
- DecidimController
- 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
Methods included from UserBlockedChecker
#check_user_block_status, #check_user_not_blocked
Methods included from NeedsSnippets
Methods included from HttpCachingDisabler
Methods included from HasStoredPath
#skip_store_location?, #store_current_location
Methods included from RegistersPermissions
Methods included from NeedsOrganization
enhance_controller, extended, included
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 |