Sha256: ee17cd0dbd612459ca33a171108bbff6085bea1f91f56e8f5514e22791b6ed65
Contents?: true
Size: 721 Bytes
Versions: 19
Compression:
Stored size: 721 Bytes
Contents
# frozen_string_literal: true module Decidim module Assemblies # The main admin application controller for assemblies class ApplicationController < Decidim::ApplicationController helper Decidim::ApplicationHelper helper Decidim::Assemblies::AssembliesHelper include NeedsPermission private def permissions_context super.merge( current_participatory_space: try(:current_participatory_space) ) end def permission_class_chain [ Decidim::Assemblies::Permissions, Decidim::Admin::Permissions, Decidim::Permissions ] end def permission_scope :public end end end end
Version data entries
19 entries across 19 versions & 1 rubygems