diff --git a/resources/views/layouts/navigation.blade.php b/resources/views/layouts/navigation.blade.php index e24a277..be622c7 100644 --- a/resources/views/layouts/navigation.blade.php +++ b/resources/views/layouts/navigation.blade.php @@ -13,6 +13,11 @@
+
+ + Friendlist + +
diff --git a/routes/web.php b/routes/web.php index 6d74893..3011597 100644 --- a/routes/web.php +++ b/routes/web.php @@ -18,13 +18,14 @@ return view('dashboard'); })->middleware(['auth', 'verified'])->name('dashboard'); -Route::get('/dashboard/friends', [FriendshipsController::class, 'index'])->name('friends.index'); Route::middleware('auth')->group(function () { Route::get('/profile', [ProfileController::class, 'edit'])->name('profile.edit'); Route::patch('/profile', [ProfileController::class, 'update'])->name('profile.update'); Route::delete('/profile', [ProfileController::class, 'destroy'])->name('profile.destroy'); + Route::get('/friends', [FriendshipsController::class, 'index'])->name('friends.index'); + });