Sha256: 7d7287e7412ca364fd480e0ff34a4c3d5dcf4f15d7542617008b7ee7576efea6
Contents?: true
Size: 534 Bytes
Versions: 12
Compression:
Stored size: 534 Bytes
Contents
# frozen_string_literal: true module Decidim # # A dummy presenter to abstract out the author of an official resource. # class OfficialAuthorPresenter def nickname "" end def badge "" end def profile_path "" end def avatar_url(_variant = nil) ActionController::Base.helpers.asset_pack_path("media/images/default-avatar.svg") end def deleted? false end def can_be_contacted? false end def has_tooltip? false end end end
Version data entries
12 entries across 12 versions & 1 rubygems