Sha256: 3956c474080631a493eb7f3a13b38a750078b60396f7cfdf6b22d69f787fb190
Contents?: true
Size: 550 Bytes
Versions: 5
Compression:
Stored size: 550 Bytes
Contents
# frozen-string_literal: true module Decidim::Amendable class EmendationPromotedEvent < Decidim::Amendable::AmendmentBaseEvent i18n_attributes :amendable_path, :amendable_type, :amendable_title, :emendation_path, :emendation_author_nickname, :emendation_author_path def amendment_resource @amendment_resource ||= resource.amendment end def amendable_resource @amendable_resource ||= resource.amendable end def emendation_resource resource end def event_has_roles? true end end end
Version data entries
5 entries across 5 versions & 1 rubygems