Sha256: 5f4ac306419f0dac139a9d0a402f1707954a21aca8491bf8de980251491de4db
Contents?: true
Size: 628 Bytes
Versions: 4
Compression:
Stored size: 628 Bytes
Contents
# frozen_string_literal: true module Decidim module ActionDelegator module Admin module DelegationHelper def granters_for_select current_organization.users end def grantees_for_select current_organization.users end def consultations_for_select organization_consultations.map do |consultation| ConsultationPresenter.new(consultation) end end def organization_consultations Decidim::Consultations::OrganizationConsultations.new(current_organization).query end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems