app/Http/Controllers/ProductoController.php
/**
     * Show the form for editing the specified resource.
     *
     * @param  \App\Models\Producto  $producto
     * @return \Illuminate\Http\Response
     */
Show the form for editing the specified resource.
Show the form for editing the specified resource .
public function edit(Producto $producto)
    {
        return view('productos.formProducto',compact('producto'));
    }
public function edit ( Producto $ producto ) { return view ( 'productos.formProducto' , compact ( 'producto' ) ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .