]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/export_controller.rb
Include the event type in the JSON output of a note
[rails.git] / app / controllers / export_controller.rb
index 225ddf86b3c587c0cadfa4b79b936ea487e43b53..cc3ed70c5cb916991b547be410a1257b0b499f1b 100644 (file)
@@ -8,7 +8,7 @@ class ExportController < ApplicationController
 
   #When the user clicks 'Export' we redirect to a URL which generates the export download
   def finish
 
   #When the user clicks 'Export' we redirect to a URL which generates the export download
   def finish
-    bbox = BoundingBox.new(params[:minlon], params[:minlat], params[:maxlon], params[:maxlat])
+    bbox = BoundingBox.from_lon_lat_params(params)
     format = params[:format]
 
     if format == "osm"
     format = params[:format]
 
     if format == "osm"