/** * Show the form for creating a new resource. * * @return Response */ public function create() { // $newId = Warehouse::generateId(); $areas = Area::all(); $regions = Region::all(); return View::make('warehouse.new', ['id' => $newId, 'areas' => $areas, 'regions' => $regions]); }