group(function () { Route::get('/', DashboardController::class)->name('dashboard'); Route::get('/personen', [PeopleController::class, 'index'])->name('people.index'); Route::get('/personen/{user}', [PeopleController::class, 'show'])->name('people.show'); Route::get('/profil', [ProfileController::class, 'show'])->name('profile.show'); Route::get('/profil/bearbeiten', [ProfileController::class, 'edit'])->name('profile.edit'); Route::put('/profil', [ProfileController::class, 'update'])->name('profile.update'); Route::post('/profil/bild', [ProfileController::class, 'updateAvatar'])->name('profile.avatar.update'); Route::delete('/profil/bild', [ProfileController::class, 'destroyAvatar'])->name('profile.avatar.destroy'); Route::put('/profil/darstellung', [ProfileController::class, 'updateTheme'])->name('profile.theme.update'); });