route('login'); }); Route::middleware(['auth', 'verified'])->group(function () { Route::get('/dashboard', fn () => redirect()->route('expenses.index'))->name('dashboard'); // Expense & Income Page Route::get('/expenses', [ExpenseController::class, 'index'])->name('expenses.index'); // Monitor Booking Route::get('/monitoring-booking', [BookingController::class, 'index'])->name('monitoring-booking.index'); }); Route::middleware('auth')->group(function () { Route::get('/profile', [ProfileController::class, 'edit'])->name('profile.edit'); Route::patch('/profile', [ProfileController::class, 'update'])->name('profile.update'); }); require __DIR__.'/auth.php';