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