From: Ant Zucaro Date: Tue, 25 Jun 2013 22:35:42 +0000 (-0400) Subject: Show CA and FT rankings. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2b860e14677197a9513a6368de2e2262f8f2cc76;p=xonotic%2Fxonstat.git Show CA and FT rankings. --- 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")