Route::has('login'), // 'canRegister' => Route::has('register'), // 'laravelVersion' => Application::VERSION, // 'phpVersion' => PHP_VERSION, // ]); // }); Route::get('/', function () { return Inertia::render('Rpo'); })->name('rpo'); Route::get('/results', function () { return Inertia::render('Results'); })->name('results'); Route::get('/dashboard', function () { return Inertia::render('Dashboard'); })->middleware(['auth', 'verified'])->name('dashboard'); Route::get('/info', function () { return Inertia::render('Info'); })->name('info'); Route::get('/doc', function () { return Inertia::render('Doc'); })->name('doc'); 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'); }); Route::get('/all', [PersonController::class, 'index']); Route::any('/search', [PersonController::class, 'search']) ->name('search'); require __DIR__.'/auth.php';