Sha256: ee39f329c5970b87cef7468f69fd1d4ae42f136a8a1a46fd107e2753b05c6f28
Contents?: true
Size: 549 Bytes
Versions: 5
Compression:
Stored size: 549 Bytes
Contents
# frozen-string_literal: true module Decidim::Amendable class AmendmentRejectedEvent < 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