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