/** * Remove the specified personal from storage. * * @param int $id * @return Response */ public function destroy($id) { if (Auth::user()->residencia->id == Personal::find($id)->residencia_id) { Personal::destroy($id); return "TRUE"; } else { return "ERROR"; } }