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::post('/monitoring-booking', [BookingController::class, 'store'])->name('monitoring-booking.store'); Route::put('/monitoring-booking/{booking}', [BookingController::class, 'update'])->name('monitoring-booking.update'); Route::delete('/monitoring-booking/{booking}', [BookingController::class, 'destroy'])->name('monitoring-booking.destroy'); Route::get('/monitoring-booking/export', [BookingController::class, 'export'])->name('monitoring-booking.export'); Route::post('/monitoring-booking/import', [BookingController::class, 'import'])->name('monitoring-booking.import'); }); 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';