Sha256: 286b1b07e78b06b1924628902d9fb3ac004ef30033ae4284a70ea35f191ef1d2
Contents?: true
Size: 445 Bytes
Versions: 10
Compression:
Stored size: 445 Bytes
Contents
# frozen-string_literal: true module Decidim module Proposals class PublishProposalEvent < Decidim::Events::SimpleEvent include Decidim::Events::CoauthorEvent private def i18n_scope return super unless participatory_space_event? "decidim.events.proposals.proposal_published_for_space" end def participatory_space_event? extra.dig(:participatory_space) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems