Class: Decidim::Blogs::PostPresenter

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
decidim-blogs/app/presenters/decidim/blogs/post_presenter.rb

Overview

Decorator for posts

Instance Method Summary collapse

Instance Method Details

#authorObject


9
10
11
# File 'decidim-blogs/app/presenters/decidim/blogs/post_presenter.rb', line 9

def author
  @author ||= Decidim::UserPresenter.new(super)
end