Sha256: 5c74927a2564de2847965025002600c424219bc46a40773c69989028677bc2f3
Contents?: true
Size: 966 Bytes
Versions: 53
Compression:
Stored size: 966 Bytes
Contents
# frozen_string_literal: true module Decidim module Conferences # The main admin application controller for conferences class ApplicationController < Decidim::ApplicationController helper Decidim::ApplicationHelper helper Decidim::ResourceHelper helper Decidim::Conferences::ConferenceHelper include NeedsPermission register_permissions(::Decidim::Conferences::ApplicationController, Decidim::Conferences::Permissions, Decidim::Admin::Permissions, Decidim::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::Conferences::ApplicationController) end def permission_scope :public end end end end
Version data entries
53 entries across 53 versions & 1 rubygems