Class: Decidim::Debates::OfficialAuthorPresenter
- Inherits:
-
OfficialAuthorPresenter
- Object
- OfficialAuthorPresenter
- Decidim::Debates::OfficialAuthorPresenter
- 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, #profile_url
Instance Method Details
#name ⇒ Object
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 |