Sha256: be02c8061103bdcc6a892d7791010cacaa52cb61cca2dcf7881bc48647929ae8
Contents?: true
Size: 625 Bytes
Versions: 27
Compression:
Stored size: 625 Bytes
Contents
# frozen_string_literal: true module Decidim module ParticipatoryProcesses module Admin # This module, when injected into a controller, ensures there's a # Participatory Process available and deducts it from the context. module ParticipatoryProcessContext def self.extended(base) base.class_eval do include Concerns::ParticipatoryProcessAdmin delegate :active_step, to: :current_participatory_process, prefix: false alias_method :current_participatory_process, :current_participatory_space end end end end end end
Version data entries
27 entries across 27 versions & 2 rubygems