Api to return more recent articles

This commit is contained in:
2020-08-20 04:02:16 +05:00
parent 512871218d
commit bcd55d7349

View File

@@ -18,6 +18,6 @@ final class RecentArticles extends Controller
{ {
return Article::with('source', 'topics') return Article::with('source', 'topics')
->latest("published_date") ->latest("published_date")
->paginate(8); ->paginate(20);
} }
} }