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