回答編集履歴
2
修正
test
CHANGED
@@ -2,6 +2,6 @@
|
|
2
2
|
|
3
3
|
- $post->username = $auth->name
|
4
4
|
|
5
|
-
+ $post->username =
|
5
|
+
+ $post->username = auth()->user()->name
|
6
6
|
|
7
7
|
```
|
1
修正
test
CHANGED
@@ -2,6 +2,6 @@
|
|
2
2
|
|
3
3
|
- $post->username = $auth->name
|
4
4
|
|
5
|
-
+ $post->username = auth()->name
|
5
|
+
+ $post->username = $auth->user()->name
|
6
6
|
|
7
7
|
```
|