Sha256: 820df424098e6ca91901ee3645b2c1de1db4cbfbe38243af3277d3c7474d88db
Contents?: true
Size: 773 Bytes
Versions: 66
Compression:
Stored size: 773 Bytes
Contents
# frozen_string_literal: true module Decidim module Assemblies module Admin # The main admin application controller for assemblies class ApplicationController < Decidim::Admin::ApplicationController register_permissions(::Decidim::Assemblies::Admin::ApplicationController, Decidim::Assemblies::Permissions, Decidim::Admin::Permissions) private def permissions_context super.merge( current_participatory_space: try(:current_participatory_space) ) end def permission_class_chain ::Decidim.permissions_registry.chain_for(::Decidim::Assemblies::Admin::ApplicationController) end end end end end
Version data entries
66 entries across 66 versions & 1 rubygems