/** * Show the form for editing the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function edit($id) { $categorias = Categoria::lists('c_nombre', 'id'); return view('libro.edit', ['libro' => $this->libro, 'categorias' => $categorias]); }