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.26.10 app/presenters/decidim/blogs/post_presenter.rb
decidim-blogs-0.26.9 app/presenters/decidim/blogs/post_presenter.rb
decidim-blogs-0.26.8 app/presenters/decidim/blogs/post_presenter.rb
decidim-blogs-0.26.7 app/presenters/decidim/blogs/post_presenter.rb
decidim-blogs-0.26.5 app/presenters/decidim/blogs/post_presenter.rb
decidim-blogs-0.26.4 app/presenters/decidim/blogs/post_presenter.rb
decidim-blogs-0.26.3 app/presenters/decidim/blogs/post_presenter.rb
decidim-blogs-0.26.2 app/presenters/decidim/blogs/post_presenter.rb
decidim-blogs-0.26.1 app/presenters/decidim/blogs/post_presenter.rb
decidim-blogs-0.26.0 app/presenters/decidim/blogs/post_presenter.rb
decidim-blogs-0.26.0.rc2 app/presenters/decidim/blogs/post_presenter.rb
decidim-blogs-0.26.0.rc1 app/presenters/decidim/blogs/post_presenter.rb
decidim-blogs-0.25.2 app/presenters/decidim/blogs/post_presenter.rb
decidim-blogs-0.25.1 app/presenters/decidim/blogs/post_presenter.rb
decidim-blogs-0.25.0 app/presenters/decidim/blogs/post_presenter.rb
decidim-blogs-0.25.0.rc4 app/presenters/decidim/blogs/post_presenter.rb
decidim-blogs-0.25.0.rc3 app/presenters/decidim/blogs/post_presenter.rb
decidim-blogs-0.25.0.rc2 app/presenters/decidim/blogs/post_presenter.rb
decidim-blogs-0.25.0.rc1 app/presenters/decidim/blogs/post_presenter.rb
decidim-blogs-0.24.3 app/presenters/decidim/blogs/post_presenter.rb