Fix error on bookmarks tagged page when no tag specified
This commit is contained in:
parent
23dedaa44b
commit
fab6bd0cc2
1 changed files with 1 additions and 0 deletions
|
@ -186,6 +186,7 @@ Route::group(['domain' => config('url.longurl')], function () {
|
||||||
// Bookmarks
|
// Bookmarks
|
||||||
Route::group(['prefix' => 'bookmarks'], function () {
|
Route::group(['prefix' => 'bookmarks'], function () {
|
||||||
Route::get('/', [BookmarksController::class, 'index']);
|
Route::get('/', [BookmarksController::class, 'index']);
|
||||||
|
Route::redirect('/tagged', '/bookmarks');
|
||||||
Route::get('/{bookmark}', [BookmarksController::class, 'show']);
|
Route::get('/{bookmark}', [BookmarksController::class, 'show']);
|
||||||
Route::get('/tagged/{tag}', [BookmarksController::class, 'tagged']);
|
Route::get('/tagged/{tag}', [BookmarksController::class, 'tagged']);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue