middleware(['auth'])->name('dashboard'); Route::get('/katalog', [KatalogController::class, 'index']) ->middleware('auth')->name('katalog'); // Route untuk peminjaman offline Route::get('/peminjaman-offline', [PeminjamanController::class, 'index'])->name('peminjaman.index'); Route::get('/peminjaman-offline/{id}/ringkasan', [PeminjamanController::class, 'ringkasan'])->name('peminjaman.ringkasan'); Route::get('/peminjaman-offline/{id}/form', [PeminjamanController::class, 'form'])->name('peminjaman.form'); Route::post('/peminjaman/store', [PeminjamanController::class, 'store'])->name('peminjaman.store'); // Route untuk user profile dari laravel breeze 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'); }); require __DIR__ . '/auth.php';