Sha256: e7e4b4bfc480dc07a4a1d86af62fbcd144a7776116baca77f53768032a8c026c
Contents?: true
Size: 498 Bytes
Versions: 13
Compression:
Stored size: 498 Bytes
Contents
# frozen-string_literal: true module Decidim module Proposals class PublishProposalEvent < Decidim::Events::SimpleEvent include Decidim::Events::CoauthorEvent def resource_text resource.body end private def i18n_scope return super unless participatory_space_event? "decidim.events.proposals.proposal_published_for_space" end def participatory_space_event? extra[:participatory_space] end end end end
Version data entries
13 entries across 13 versions & 1 rubygems