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.27.9 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.27.8 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.27.7 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.27.6 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.26.10 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.26.9 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.27.5 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.26.8 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.27.4 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.27.3 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.26.7 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.26.5 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.27.2 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.27.1 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.26.4 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.27.0 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.26.3 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.27.0.rc2 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.27.0.rc1 app/events/decidim/amendable/amendment_accepted_event.rb
decidim-core-0.26.2 app/events/decidim/amendable/amendment_accepted_event.rb