回答編集履歴
1
追記
test
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
+ $articles = Article::with(['user', 'likes', 'tags'])
|
8
8
|
|
9
|
-
+ ->
|
9
|
+
+ ->orderByDesc('created_at')
|
10
10
|
|
11
11
|
+ ->paginate(5);
|
12
12
|
|