Sha256: bfce37f7564d522a5ef5686df22bfc2df57685cb73072204b820195d2895be5b

Contents?: true

Size: 214 Bytes

Versions: 71

Compression:

Stored size: 214 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Blogs
    class CreatePostEvent < Decidim::Events::SimpleEvent
      def resource_text
        translated_attribute(resource.body)
      end
    end
  end
end

Version data entries

71 entries across 71 versions & 1 rubygems

Version Path
decidim-blogs-0.29.1 app/events/decidim/blogs/create_post_event.rb
decidim-blogs-0.28.4 app/events/decidim/blogs/create_post_event.rb
decidim-blogs-0.27.9 app/events/decidim/blogs/create_post_event.rb
decidim-blogs-0.29.0 app/events/decidim/blogs/create_post_event.rb
decidim-blogs-0.28.3 app/events/decidim/blogs/create_post_event.rb
decidim-blogs-0.27.8 app/events/decidim/blogs/create_post_event.rb
decidim-blogs-0.29.0.rc4 app/events/decidim/blogs/create_post_event.rb
decidim-blogs-0.29.0.rc3 app/events/decidim/blogs/create_post_event.rb
decidim-blogs-0.29.0.rc2 app/events/decidim/blogs/create_post_event.rb
decidim-blogs-0.29.0.rc1 app/events/decidim/blogs/create_post_event.rb
decidim-blogs-0.28.2 app/events/decidim/blogs/create_post_event.rb
decidim-blogs-0.27.7 app/events/decidim/blogs/create_post_event.rb
decidim-blogs-0.28.1 app/events/decidim/blogs/create_post_event.rb
decidim-blogs-0.27.6 app/events/decidim/blogs/create_post_event.rb
decidim-blogs-0.26.10 app/events/decidim/blogs/create_post_event.rb
decidim-blogs-0.26.9 app/events/decidim/blogs/create_post_event.rb
decidim-blogs-0.28.0 app/events/decidim/blogs/create_post_event.rb
decidim-blogs-0.27.5 app/events/decidim/blogs/create_post_event.rb
decidim-blogs-0.28.0.rc5 app/events/decidim/blogs/create_post_event.rb
decidim-blogs-0.28.0.rc4 app/events/decidim/blogs/create_post_event.rb