回答編集履歴

1

記述の修正

2018/08/10 04:10

投稿

sekkati
sekkati

スコア24

test CHANGED
@@ -4,6 +4,10 @@
4
4
 
5
5
  ```php
6
6
 
7
- <a href="{{ route('city.show', $city->id) }}"><img src={{ asset($city->img_path) }} class="flag" alt="{{$city->country_name}}"></a>
7
+ <a href="{{ route('city.show', $city->id) }}"><img src="{{ asset($city->img_path) }}" class="flag" alt="{{$city->country_name}}"></a>
8
8
 
9
9
  ```
10
+
11
+
12
+
13
+ 今回あくまでもコントローラのshowアクションに飛ばせればよかったので上記で解決できました!