From: Ant Zucaro Date: Thu, 4 Jan 2018 21:55:35 +0000 (-0500) Subject: Remove access to the rank index pages. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7a96f7ce6f15fc8aae1e4434e93b376a3a65b855;p=xonotic%2Fxonstat.git Remove access to the rank index pages. --- diff --git a/xonstat/__init__.py b/xonstat/__init__.py index f1e3571..5055661 100644 --- a/xonstat/__init__.py +++ b/xonstat/__init__.py @@ -111,12 +111,6 @@ def main(global_config, **settings): config.add_route("game_info_json", "/game/{id:\d+}.json") config.add_view(game_info_json, route_name="game_info_json", renderer="jsonp") - config.add_route("rank_index", "/ranks/{game_type_cd}") - config.add_view(rank_index, route_name="rank_index", renderer="rank_index.mako") - - config.add_route("rank_index_json", "/ranks/{game_type_cd}.json") - config.add_view(rank_index_json, route_name="rank_index_json", renderer="jsonp") - config.add_route("game_index", "/games") config.add_view(game_finder, route_name="game_index", renderer="game_finder.mako")