/** * Delete a single cause by id from storage * * @param integer $id * @return \Dingo\Api\Http\Response */ public function destroy($id) { $cause = Cause::findOrFail($id); $cause->delete(); return $this->response->noContent(); }