3 changed files with 4 additions and 12 deletions
@ -1,11 +0,0 @@
|
||||
# frozen_string_literal: true |
||||
|
||||
module MascotHelper |
||||
def mascot_url |
||||
full_asset_url(instance_presenter.mascot&.file&.url || frontend_asset_path('images/elephant_ui_plane.svg')) |
||||
end |
||||
|
||||
def instance_presenter |
||||
@instance_presenter ||= InstancePresenter.new |
||||
end |
||||
end |
||||
Loading…
Reference in new issue