/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function edit($id) { // $producto = Productos::find($id); $tipos = Tipos::orderBy('tipo', 'ASC')->lists('tipo', 'id'); return view('Backend.Products.update', ['producto' => $producto, 'tipos' => $tipos]); }