public function post_delete_server($id) { $server = WhoisServers::find($id); $server->delete(); return Redirect::back()->withSuccess('The whois server has been deleted successfully.'); }