Sha256: ee577d4bddb08e1caa328144bc338929ca8868e993433103e64124e9a9c4e7a3
Contents?: true
Size: 688 Bytes
Versions: 13
Compression:
Stored size: 688 Bytes
Contents
# frozen_string_literal: true module Decidim module Proposals # # A dummy presenter to abstract out the author of an official proposal. # class OfficialAuthorPresenter def name I18n.t("decidim.proposals.models.proposal.fields.official_proposal") 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