Update Laravel Pint
This commit is contained in:
parent
8d93a5ac7a
commit
7ee5bb00ba
13 changed files with 78 additions and 78 deletions
|
@ -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'));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue