name('dashboard'); Route::get('/profile', [ProfileController::class, 'show'])->name('profile.show'); Route::put('/profile', [ProfileController::class, 'update'])->name('profile.update'); Route::post('/logout', [LoginController::class, 'destroy'])->name('logout');