Example #1
0
 /**
  * Remove the specified product from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     Product::destroy($id);
     return Redirect::route("admin.product.index", ['successMessage' => 'Produto removido com sucesso', 'category' => Input::get('category')]);
 }