From 7a96f7ce6f15fc8aae1e4434e93b376a3a65b855 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Thu, 4 Jan 2018 16:55:35 -0500 Subject: [PATCH] Remove access to the rank index pages. --- xonstat/__init__.py | 6 ------ 1 file changed, 6 deletions(-) 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") -- 2.39.2