Sha256: 3cde8108e8b0e5ae46e1bb8e485bf18bf61af0f0d6d874f93b74444b18ebd469
Contents?: true
Size: 396 Bytes
Versions: 25
Compression:
Stored size: 396 Bytes
Contents
# frozen_string_literal: true module Decidim # A controller to serve the manifest file for PWA class ManifestsController < Decidim::ApplicationController def show organization_presenter = OrganizationPresenter.new(current_organization) render layout: false, locals: { organization_params: organization_presenter }, content_type: "application/manifest+json" end end end
Version data entries
25 entries across 25 versions & 1 rubygems