Sha256: 0cebabef737287f7ec3382b2e20e86ee9084e449d868130792b626ea24d50b03
Contents?: true
Size: 479 Bytes
Versions: 6
Compression:
Stored size: 479 Bytes
Contents
# frozen-string_literal: true module Decidim module Plans class PublishPlanEvent < Decidim::Events::SimpleEvent include Decidim::Events::CoauthorEvent def resource_text # TODO end private def i18n_scope return super unless participatory_space_event? "decidim.events.plans.plan_published_for_space" end def participatory_space_event? extra.dig(:participatory_space) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems