Sha256: 51c2d4f70560e930c4bc2a3ca3470c8b9adb31a0d22def9174e19376d9e89641
Contents?: true
Size: 443 Bytes
Versions: 9
Compression:
Stored size: 443 Bytes
Contents
# frozen-string_literal: true module Decidim module Proposals class PublishProposalEvent < Decidim::Events::SimpleEvent include Decidim::Events::AuthorEvent 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
9 entries across 9 versions & 1 rubygems