From fcf017bd37a490264ccb10a7edb1ea36cfa391b4 Mon Sep 17 00:00:00 2001 From: Sander Dorigo Date: Mon, 13 Jul 2026 16:56:53 +0200 Subject: [PATCH] Add missing variable --- app/Http/Controllers/Category/IndexController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Category/IndexController.php b/app/Http/Controllers/Category/IndexController.php index 6e7ecf9f15..c62a29f4b3 100644 --- a/app/Http/Controllers/Category/IndexController.php +++ b/app/Http/Controllers/Category/IndexController.php @@ -85,6 +85,6 @@ final class IndexController extends Controller $categories = new LengthAwarePaginator($collection, $total, $pageSize, $page); $categories->setPath(route('categories.index')); - return view('categories.index', ['categories' => $categories]); + return view('categories.index', ['categories' => $categories, 'page' => $page]); } }