/** * Remove the specified resource from storage. * * @param int $acProjectId * @param int $id * @return Response */ public function destroy($acProjectId, $id) { // $this->acTaskModel->find($id)->delete(); $this->acTask->delete(); return redirect()->route('ac_projects.ac_tasks.index', $acProjectId); }