/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy($id) { Visitor::destroy($id); return Response::json(array('success' => 'Visitor has been deleted!')); }