check() && auth()->user()->character) { return redirect()->route('game.dashboard'); } return view('dashboard'); })->middleware(['auth', 'verified'])->name('dashboard'); // Profile routes 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'); }); // Authentication routes require __DIR__.'/auth.php';