name('home'); Route::middleware(['auth', 'verified'])->group(function () { Route::inertia('dashboard', 'dashboard')->name('dashboard'); Route::prefix('notifications')->name('notifications.')->group(function () { Route::patch('mark-all-read', [NotificationController::class, 'markAllRead'])->name('mark-all-read'); Route::delete('clear-all', [NotificationController::class, 'destroyAll'])->name('clear-all'); Route::patch('{notification}/read', [NotificationController::class, 'markRead'])->name('read'); Route::delete('{notification}', [NotificationController::class, 'destroy'])->name('destroy'); }); Route::resource('feedback', FeedbackController::class)->except(['create', 'edit', 'show']); }); require __DIR__.'/settings.php'; require __DIR__.'/admin.php';