]> git.rm.cloudns.org Git - xonotic/xonstat.git/commitdiff
Show CA and FT rankings.
authorAnt Zucaro <azucaro@gmail.com>
Tue, 25 Jun 2013 22:35:42 +0000 (18:35 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Tue, 25 Jun 2013 22:35:42 +0000 (18:35 -0400)
xonstat/__init__.py

index bbd08bf7485559650228867bb59fd67d0ede5262..728426d36ee1aa88b75ec3af864717d5ec8786db 100644 (file)
@@ -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")