Sha256: e6c03d09f35beae5555d286f7b28f79f7ef3dfffd8b2a2b8ac16f520ad648191
Contents?: true
Size: 668 Bytes
Versions: 14
Compression:
Stored size: 668 Bytes
Contents
# frozen_string_literal: true module Decidim module Plans # # A dummy presenter to abstract out the author of an official plan. # class OfficialAuthorPresenter def name I18n.t("decidim.plans.models.plan.fields.official_plan") 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
14 entries across 14 versions & 1 rubygems