From fab6bd0cc29f368d282d3d449f38997a455288e1 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Sun, 3 Dec 2023 17:27:09 +0000 Subject: [PATCH] Fix error on bookmarks tagged page when no tag specified --- routes/web.php | 1 + 1 file changed, 1 insertion(+) diff --git a/routes/web.php b/routes/web.php index fbc6e129..686a2fde 100644 --- a/routes/web.php +++ b/routes/web.php @@ -186,6 +186,7 @@ Route::group(['domain' => config('url.longurl')], function () { // Bookmarks Route::group(['prefix' => 'bookmarks'], function () { Route::get('/', [BookmarksController::class, 'index']); + Route::redirect('/tagged', '/bookmarks'); Route::get('/{bookmark}', [BookmarksController::class, 'show']); Route::get('/tagged/{tag}', [BookmarksController::class, 'tagged']); });