Sha256: db2868672d95c89464b78255d9b5bcc5ef82ede4de3a52e5b9d6135381a62625
Contents?: true
Size: 550 Bytes
Versions: 109
Compression:
Stored size: 550 Bytes
Contents
# frozen_string_literal: true module Decidim module Assemblies module Admin # This module, when injected into a controller, ensures there's a # Assembly available and deducts it from the context. module AssemblyContext def self.extended(base) base.class_eval do include Concerns::AssemblyAdmin delegate :active_step, to: :current_assembly, prefix: false alias_method :current_assembly, :current_participatory_space end end end end end end
Version data entries
109 entries across 109 versions & 2 rubygems