Skip to content

Commit e0c65e8

Browse files
author
ahmadhuss
committed
refactor: index.blade.php for the photo reference link
1 parent d692cec commit e0c65e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/index.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<div class="col-lg-4 col-md-6 mb-4">
5454
<div class="card h-100">
5555
<a href="#">
56-
<img class="card-img-top" src="{{ $product->photo ? asset("storage/$product->photo") : 'https://dummyimage.com/700x400/000/ccc.jpg' }}" alt="">
56+
<img class="card-img-top" src="{{ $product->photo ? $product->photo : 'https://dummyimage.com/700x400/000/ccc.jpg' }}" alt="">
5757
</a>
5858
<div class="card-body">
5959
<h4 class="card-title">

0 commit comments

Comments
 (0)