seo
This commit is contained in:
@@ -23,6 +23,8 @@ class NewsController extends Controller
|
||||
->withQueryString()
|
||||
->through(fn (News $item): array => $this->summary($item));
|
||||
|
||||
abort_if($articles->currentPage() > 1 && $articles->isEmpty(), 404);
|
||||
|
||||
return Inertia::render('News/Index', [
|
||||
...$this->portalProps($request),
|
||||
'articles' => $articles,
|
||||
|
||||
Reference in New Issue
Block a user