Class: Decidim::Debates::OfficialAuthorPresenter

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

Overview

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

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-debates/app/presenters/decidim/debates/official_author_presenter.rb', line 9

def name
  I18n.t("decidim.debates.models.debate.fields.official_debate")
end