Simplify instance presenter view access (#26046)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user