質問編集履歴

1

コードが間違ってたのと、F12での表示も載せました

2018/11/14 10:19

投稿

T_kappa
T_kappa

スコア23

test CHANGED
File without changes
test CHANGED
@@ -20,6 +20,18 @@
20
20
 
21
21
  ```laravel
22
22
 
23
- <p>ユーザー名 : <a href='{{ url("users/$post->user->id"}}''>{{ $post->user->name }}</a></p>
23
+ <p>ユーザー名<a href='{{ url("users/$post->user->id")}}'>{{ $post->user->name }}</a></p>
24
24
 
25
25
  ```
26
+
27
+
28
+
29
+
30
+
31
+ コンソール画面では以下のようになってます
32
+
33
+ ```
34
+
35
+ href="(中略)/users/{"id":1,"name":"なまえなまえ","email":"maiilll","created_at":"2018-11-07 00:00:00","updated_at":"2018-11-13 10:20:48"}->id"
36
+
37
+ ```