Sha256: 872ee1f5c046b25aa0c651af11e6f81ca04f98fca3ab9cc54cac97d9ce313caf

Contents?: true

Size: 345 Bytes

Versions: 53

Compression:

Stored size: 345 Bytes

Contents

# frozen-string_literal: true

module Decidim::Amendable
  class AmendmentRejectedEvent < Decidim::Amendable::AmendmentBaseEvent
    def amendable_resource
      @amendable_resource ||= resource.amendable
    end

    def emendation_resource
      @emendation_resource ||= resource
    end

    def event_has_roles?
      true
    end
  end
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
decidim-core-0.26.1 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.26.0 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.26.0.rc2 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.26.0.rc1 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.25.2 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.25.1 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.25.0 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.25.0.rc4 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.25.0.rc3 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.25.0.rc2 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.25.0.rc1 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.24.3 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.23.6 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.24.2 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.23.5 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.24.1 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.24.0 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.24.0.rc2 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.23.4 app/events/decidim/amendable/amendment_rejected_event.rb
decidim-core-0.24.0.rc1 app/events/decidim/amendable/amendment_rejected_event.rb