route('deliveries.index'); }); Route::get('/dashboard', function () { return view('dashboard'); })->middleware(['auth', 'verified'])->name('dashboard'); Route::middleware('auth')->group(function () { Route::resources([ 'users' => UserController::class, 'deliveries' => DeliveryController::class, 'warehouses' => WarehouseController::class, 'users.cars' => CarController::class, ]); }); require __DIR__.'/auth.php';