app/Http/Controllers/ProductController.php
/**
     * Show the form for editing the specified resource.
     *
     * @param  \App\Product  $product
     * @return \Illuminate\Http\Response
     */
Show the form for editing the specified resource.
Show the form for editing the specified resource .
public function edit( $id)
    {
        $product = Product::find($id);
        return view('pages.profile.product.edit', compact('product'));
    }
public function edit ( $ id ) { $ product = Product :: find ( $ id ) ; return view ( 'pages.profile.product.edit' , compact ( 'product' ) ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .