public function textoIndex() { $textos = textos::paginate(10); $opc = ["Titulo", "ISBN", "Editorial", "Identificador"]; $tip = tipo::lists('nombre_tipo'); $gen = genero::lists('nombre_genero'); return view('front.texto.index', compact('textos', 'tip', 'opc', 'gen')); }