2
0

Simplify instance presenter view access (#26046)

This commit is contained in:
Matt Jankowski
2023-09-28 10:52:37 -04:00
committed by GitHub
parent 2016c5d912
commit 340f1a68be
11 changed files with 5 additions and 58 deletions

View File

@@ -5,8 +5,6 @@ module MascotHelper
full_asset_url(instance_presenter.mascot&.file&.url || asset_pack_path('media/images/elephant_ui_plane.svg'))
end
private
def instance_presenter
@instance_presenter ||= InstancePresenter.new
end