/** * Show the form for creating a new resource. * * @return \Illuminate\Http\Response */ public function create() { $revistas = Revista::lists('nombre', 'id'); return view('catalogo.create', compact($revistas, 'revistas')); }
/** * Show the form for creating a new resource. * * @return \Illuminate\Http\Response */ public function create() { $revistas = Revista::lists('nombre', 'id'); return view('catalogo.create', compact($revistas, 'revistas')); }