Merge pull request #81 from bagisto/jitendra

Issues fixed
This commit is contained in:
JItendra Singh 2018-10-26 10:24:09 +05:30 committed by GitHub
commit d25172baff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -200,6 +200,8 @@ class ProductController extends Controller
*/
public function destroy($id)
{
Event::fire('product.delete.before', $id);
$this->product->delete($id);
//before update of product