Update Laravel Pint

This commit is contained in:
Jonny Barnes 2023-04-20 17:34:06 +01:00
parent 8d93a5ac7a
commit 7ee5bb00ba
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
13 changed files with 78 additions and 78 deletions

View file

@ -18,9 +18,9 @@ class ArticlesController extends Controller
public function index(int $year = null, int $month = null): View
{
$articles = Article::where('published', '1')
->date($year, $month)
->orderBy('updated_at', 'desc')
->simplePaginate(5);
->date($year, $month)
->orderBy('updated_at', 'desc')
->simplePaginate(5);
return view('articles.index', compact('articles'));
}