]> git.rm.cloudns.org Git - xonotic/xonstat.git/commitdiff
Remove access to the rank index pages.
authorAnt Zucaro <azucaro@gmail.com>
Thu, 4 Jan 2018 21:55:35 +0000 (16:55 -0500)
committerAnt Zucaro <azucaro@gmail.com>
Thu, 4 Jan 2018 21:55:35 +0000 (16:55 -0500)
xonstat/__init__.py

index f1e3571b8b47413453c03e1586ee9e6c19e22a10..5055661bd34b82f339f24291f203a348dd91bb2c 100644 (file)
@@ -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")