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