]> gitweb.michael.orlitzky.com - dead/census-tools.git/blobdiff - www/maps/maps/controllers/directions.py
Renamed the post_directions_result() function to post_data().
[dead/census-tools.git] / www / maps / maps / controllers / directions.py
index eabdfd49da36c155787b72a96ba986ee19ee7e1a..4c765a3dad217bc4e428eb73122a4a073fe5bae3 100644 (file)
@@ -73,7 +73,7 @@ class DirectionsController(BaseController):
 
     
     def json_to_kml(self):
-        directions_array = json.loads(request.POST['directions_result'])
+        directions_array = json.loads(request.POST['data'])
         placemarks = []
         for result in directions_array:
             placemarks += self.directions_result_to_placemarks(result)