/** * Remove the specified resource from storage. * * @param $parent_id * @param int $id * @return Response */ public function destroy($id) { if ($this->category->delete($id)) { return redirect()->back()->with('success', 'Category successfully deleted!'); } return redirect()->back()->with('error', 'Error deleting Category !'); }