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

Version Path
decidim-core-0.29.1 app/controllers/decidim/manifests_controller.rb
decidim-core-0.28.4 app/controllers/decidim/manifests_controller.rb
decidim-core-0.27.9 app/controllers/decidim/manifests_controller.rb
decidim-core-0.29.0 app/controllers/decidim/manifests_controller.rb
decidim-core-0.28.3 app/controllers/decidim/manifests_controller.rb
decidim-core-0.27.8 app/controllers/decidim/manifests_controller.rb
decidim-core-0.29.0.rc4 app/controllers/decidim/manifests_controller.rb
decidim-core-0.29.0.rc3 app/controllers/decidim/manifests_controller.rb
decidim-core-0.29.0.rc2 app/controllers/decidim/manifests_controller.rb
decidim-core-0.29.0.rc1 app/controllers/decidim/manifests_controller.rb
decidim-core-0.28.2 app/controllers/decidim/manifests_controller.rb
decidim-core-0.27.7 app/controllers/decidim/manifests_controller.rb
decidim-core-0.28.1 app/controllers/decidim/manifests_controller.rb
decidim-core-0.27.6 app/controllers/decidim/manifests_controller.rb
decidim-core-0.28.0 app/controllers/decidim/manifests_controller.rb
decidim-core-0.27.5 app/controllers/decidim/manifests_controller.rb
decidim-core-0.28.0.rc5 app/controllers/decidim/manifests_controller.rb
decidim-core-0.28.0.rc4 app/controllers/decidim/manifests_controller.rb
decidim-core-0.27.4 app/controllers/decidim/manifests_controller.rb
decidim-core-0.27.3 app/controllers/decidim/manifests_controller.rb