]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/export_controller.rb
Increase the limit when a warning about a large number of objects is displayed.
[rails.git] / app / controllers / export_controller.rb
index 5a2b159ef6f991b96992367b3fd69e7c074de5a2..fdae75b9a5cee812b137a82ad947c627498f5c31 100644 (file)
@@ -19,7 +19,7 @@ class ExportController < ApplicationController
     case style
     when "osm"
       # redirect to API map get
-      redirect_to :controller => "api/map", :action => "index", :bbox => bbox
+      redirect_to api_map_path(:bbox => bbox)
 
     when "mapnik"
       # redirect to a special 'export' cgi script