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 a1e69b5..6ec21ab 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>