Sha256: 85eec07eca5198dbec6a4f9232ae1827c2f8bb83bb43d25c6402ae19fdf3cdab
Contents?: true
Size: 678 Bytes
Versions: 13
Compression:
Stored size: 678 Bytes
Contents
# frozen_string_literal: true module Decidim module Debates # # A dummy presenter to abstract out the author of an official debate. # class OfficialAuthorPresenter def name I18n.t("decidim.debates.models.debate.fields.official_debate") end def nickname "" end def badge "" end def profile_path "" end def avatar_url ActionController::Base.helpers.asset_path("decidim/default-avatar.svg") end def deleted? false end def can_be_contacted? false end def has_tooltip? false end end end end
Version data entries
13 entries across 13 versions & 1 rubygems