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'); // A screen that exists only in the bundle of the site (`manager.extensions`) has no route of its own: a browser that // asks for it gets the shell, which shows the screen. Anything else that asks for data gets a plain 404. Route::fallback(fn () => abort(404));