Sha256: 8c1c20f399d67243dbdc457b9b29b7ec7b416354472c4089a3faf773bdd44ca1

Contents?: true

Size: 345 Bytes

Versions: 53

Compression:

Stored size: 345 Bytes

Contents

# frozen-string_literal: true

module Decidim::Amendable
  class AmendmentAcceptedEvent < 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.23.3 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.23.2 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.23.1 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.23.1.rc1 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.23.0 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.22.0 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.21.0 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.20.1 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.20.0 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.19.1 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.18.1 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.19.0 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.18.0 app/events/decidim/amendable/amendment_accepted_event.rb