Class: Decidim::Proposals::OfficialAuthorPresenter

Inherits:
OfficialAuthorPresenter show all
Defined in:
decidim-proposals/app/presenters/decidim/proposals/official_author_presenter.rb

Overview

A dummy presenter to abstract out the author of an official proposal.

Instance Method Summary collapse

Methods inherited from OfficialAuthorPresenter

#avatar_url, #badge, #can_be_contacted?, #deleted?, #has_tooltip?, #nickname, #profile_path

Instance Method Details

#nameObject


9
10
11
# File 'decidim-proposals/app/presenters/decidim/proposals/official_author_presenter.rb', line 9

def name
  I18n.t("decidim.proposals.models.proposal.fields.official_proposal")
end