From a3423f03212a669c9f61c6a2cfcf15dcfe5c9dae Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 12 Apr 2015 10:19:37 +0200 Subject: [PATCH] Add the correct path to category overview. --- app/Http/Controllers/CategoryController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Controllers/CategoryController.php b/app/Http/Controllers/CategoryController.php index 105959bc54..09b7b1370d 100644 --- a/app/Http/Controllers/CategoryController.php +++ b/app/Http/Controllers/CategoryController.php @@ -136,6 +136,7 @@ class CategoryController extends Controller $set = $repository->getJournals($category, $page); $count = $repository->countJournals($category); $journals = new LengthAwarePaginator($set, $count, 50, $page); + $journals->setPath('categories/show/' . $category->id); return view('categories.show', compact('category', 'journals', 'hideCategory')); }