]> git.rm.cloudns.org Git - xonotic/xonstat.git/commitdiff
Fix reference to old view name.
authorAnt Zucaro <azucaro@gmail.com>
Thu, 5 Sep 2013 16:04:33 +0000 (12:04 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Thu, 5 Sep 2013 16:04:33 +0000 (12:04 -0400)
xonstat/templates/nvd3_damage.mako

index a1e69b586b8c9c171deb30fba48b1a56fb7140d1..6ec21ab709dcb2f28d243d30f67a9033f905b904 100644 (file)
@@ -80,8 +80,8 @@ text {
     }
 
     % if game_type_cd is not None:
-        d3.json("${request.route_url('player_damage_data_v2', id=player_id, _query={'limit':limit, 'game_type':game_type_cd})}", doDamageGraph);
+        d3.json("${request.route_url('player_weaponstats_data_json', id=player_id, _query={'limit':limit, 'game_type':game_type_cd})}", doDamageGraph);
     % else:
-        d3.json("${request.route_url('player_damage_data_v2', id=player_id, _query={'limit':limit})}", doDamageGraph);
+        d3.json("${request.route_url('player_weaponstats_data_json', id=player_id, _query={'limit':limit})}", doDamageGraph);
     % endif
 </script>