回答編集履歴

2

追記

2020/09/15 05:13

投稿

kyoya0819
kyoya0819

スコア10429

test CHANGED
@@ -1,5 +1,7 @@
1
- ```cmd
1
+ ```diff
2
2
 
3
+ - asset('storage/image/{{$hotel->picture}}')
4
+
3
- $ php artisan storage:link
5
+ + asset('storage/image/'.$hotel->picture)
4
6
 
5
7
  ```

1

追記

2020/09/15 05:13

投稿

kyoya0819
kyoya0819

スコア10429

test CHANGED
@@ -1,7 +1,5 @@
1
- ```diff
1
+ ```cmd
2
2
 
3
- - asset('storage/image/{{$hotel->picture}}')
3
+ $ php artisan storage:link
4
-
5
- + url('storage/image/{{$hotel->picture}}')
6
4
 
7
5
  ```