Sha256: 0da56f158052648e9a691f7a06771f14b8b320f1d48791bf8a0ea82a670f0ab8
Contents?: true
Size: 928 Bytes
Versions: 4
Compression:
Stored size: 928 Bytes
Contents
# frozen_string_literal: true require "decidim/action_delegator/admin" require "decidim/action_delegator/admin_engine" require "decidim/action_delegator/engine" module Decidim # This namespace holds the logic of the `ActionDelegator` module module ActionDelegator end end # We register 2 global engines to handle logic unrelated to participatory spaces or components # User space engine, used mostly in the context of the user profile to let the users # manage their delegations Decidim.register_global_engine( :decidim_action_delegator, # this is the name of the global method to access engine routes ::Decidim::ActionDelegator::Engine, at: "/action_delegator" ) # Admin side of the delegations management. Admins can overlook all delegations and # create their own Decidim.register_global_engine( :decidim_admin_action_delegator, ::Decidim::ActionDelegator::AdminEngine, at: "/admin/action_delegator" )
Version data entries
4 entries across 4 versions & 1 rubygems