Sha256: 7f49a87d8295bda79fa2de0668c8b3f6fb0f4540265a156571ce19d8b9cd6993
Contents?: true
Size: 577 Bytes
Versions: 20
Compression:
Stored size: 577 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 end end end
Version data entries
20 entries across 20 versions & 1 rubygems