diff --git a/app/Http/Controllers/ProductController.php b/app/Http/Controllers/ProductController.php index 53bbd949ab..ea6f9b3dc3 100644 --- a/app/Http/Controllers/ProductController.php +++ b/app/Http/Controllers/ProductController.php @@ -118,7 +118,7 @@ class ProductController extends BaseController /** * @return \Illuminate\Contracts\View\View */ - public function create(CreateProductRequest $request) + public function create(ProductRequest $request) { $account = Auth::user()->account; @@ -138,7 +138,7 @@ class ProductController extends BaseController /** * @return \Illuminate\Http\RedirectResponse */ - public function store() + public function store(CreateProductRequest $request) { return $this->save(); } @@ -148,7 +148,7 @@ class ProductController extends BaseController * * @return \Illuminate\Http\RedirectResponse */ - public function update($publicId) + public function update(UpdateProductRequest $request, $publicId) { return $this->save($publicId); }