Sha256: ed59d085e6493bbf366fb40c44762304be55c0d853a946fde255fbaa80e6422b
Contents?: true
Size: 727 Bytes
Versions: 53
Compression:
Stored size: 727 Bytes
Contents
# frozen_string_literal: true module Decidim module Consultations # A controller that holds the logic to show consultations in a # public layout. class ApplicationController < Decidim::ApplicationController include NeedsPermission register_permissions(::Decidim::Consultations::ApplicationController, Decidim::Consultations::Permissions, Decidim::Admin::Permissions, Decidim::Permissions) private def permission_class_chain ::Decidim.permissions_registry.chain_for(::Decidim::Consultations::ApplicationController) end def permission_scope :public end end end end
Version data entries
53 entries across 53 versions & 1 rubygems