Skip to content

A free open source IT asset/license management system

Fixed #8680 - location image path

snipeede20523f2c0
diff --git a/resources/views/locations/view.blade.php b/resources/views/locations/view.blade.php
index 341fd89b81..d384304587 100644
--- a/resources/views/locations/view.blade.php
+++ b/resources/views/locations/view.blade.php
@@ -127,7 +127,7 @@
@if ($location->image!='')
<div class="col-md-12 text-center" style="padding-bottom: 20px;">
- <img src="{{ app('locations_upload_url') }}/{{ $location->image }}" class="img-responsive img-thumbnail" alt="{{ $location->name }}">
+ <img src="{{ Storage::disk('public')->url('locations/'.e($location->image)) }}" class="img-responsive img-thumbnail" alt="{{ $location->name }}">
</div>
@endif
<div class="col-md-12">