From 2b860e14677197a9513a6368de2e2262f8f2cc76 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Tue, 25 Jun 2013 18:35:42 -0400 Subject: [PATCH] Show CA and FT rankings. --- xonstat/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xonstat/__init__.py b/xonstat/__init__.py index bbd08bf..728426d 100644 --- a/xonstat/__init__.py +++ b/xonstat/__init__.py @@ -84,8 +84,8 @@ def main(global_config, **settings): config.add_view(game_info, route_name="game_info", renderer="game_info.mako") config.add_view(game_info_json, route_name="game_info_json", renderer="jsonp") - config.add_route("rank_index", "/ranks/{game_type_cd:ctf|dm|tdm|duel}") - config.add_route("rank_index_json", "/ranks/{game_type_cd:ctf|dm|tdm|duel}.json") + config.add_route("rank_index", "/ranks/{game_type_cd:ctf|dm|tdm|duel|ca|ft}") + config.add_route("rank_index_json", "/ranks/{game_type_cd:ctf|dm|tdm|duel|ca|ft}.json") config.add_view(rank_index, route_name="rank_index", renderer="rank_index.mako") config.add_view(rank_index_json, route_name="rank_index_json", renderer="jsonp") -- 2.39.2