Sha256: 3091e328a0d5df6bc79a162a7149a24d836d2a768656de6927cb3d7f7538c0c6

Contents?: true

Size: 275 Bytes

Versions: 45

Compression:

Stored size: 275 Bytes

Contents

# frozen-string_literal: true

module Decidim
  module Debates
    class CloseDebateEvent < Decidim::Events::SimpleEvent
      def resource_text
        translated_attribute(resource.conclusions)
      end

      def event_has_roles?
        true
      end
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
decidim-debates-0.27.9 app/events/decidim/debates/close_debate_event.rb
decidim-debates-0.27.8 app/events/decidim/debates/close_debate_event.rb
decidim-debates-0.27.7 app/events/decidim/debates/close_debate_event.rb
decidim-debates-0.27.6 app/events/decidim/debates/close_debate_event.rb
decidim-debates-0.26.10 app/events/decidim/debates/close_debate_event.rb
decidim-debates-0.26.9 app/events/decidim/debates/close_debate_event.rb
decidim-debates-0.27.5 app/events/decidim/debates/close_debate_event.rb
decidim-debates-0.26.8 app/events/decidim/debates/close_debate_event.rb
decidim-debates-0.27.4 app/events/decidim/debates/close_debate_event.rb
decidim-debates-0.27.3 app/events/decidim/debates/close_debate_event.rb
decidim-debates-0.26.7 app/events/decidim/debates/close_debate_event.rb
decidim-debates-0.26.5 app/events/decidim/debates/close_debate_event.rb
decidim-debates-0.27.2 app/events/decidim/debates/close_debate_event.rb
decidim-debates-0.27.1 app/events/decidim/debates/close_debate_event.rb
decidim-debates-0.26.4 app/events/decidim/debates/close_debate_event.rb
decidim-debates-0.27.0 app/events/decidim/debates/close_debate_event.rb
decidim-debates-0.26.3 app/events/decidim/debates/close_debate_event.rb
decidim-debates-0.27.0.rc2 app/events/decidim/debates/close_debate_event.rb
decidim-debates-0.27.0.rc1 app/events/decidim/debates/close_debate_event.rb
decidim-debates-0.26.2 app/events/decidim/debates/close_debate_event.rb