Sha256: 71a19c7492ad28b28394d746cdfbff87ac7f17982e6a97574c4465479960410c

Contents?: true

Size: 240 Bytes

Versions: 63

Compression:

Stored size: 240 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Blogs
    #
    # Decorator for posts
    #
    class PostPresenter < SimpleDelegator
      def author
        @author ||= Decidim::UserPresenter.new(super)
      end
    end
  end
end

Version data entries

63 entries across 63 versions & 1 rubygems

Version Path
decidim-blogs-0.12.0.pre app/presenters/decidim/blogs/post_presenter.rb
decidim-blogs-0.11.1 app/presenters/decidim/module/blogs/post_presenter.rb
decidim-blogs-0.11.0.pre1 app/presenters/decidim/module/blogs/post_presenter.rb