]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/export_controller.rb
Remove border css class used by previous version of paginator
[rails.git] / app / controllers / export_controller.rb
index d901dccc9e9a721570c1d91360e9e9ce420c1bf5..94851de96485741758d681a1247be029c402dc17 100644 (file)
@@ -21,7 +21,7 @@ class ExportController < ApplicationController
       format = params[:mapnik_format]
       scale = params[:mapnik_scale]
 
-      redirect_to "https://render.openstreetmap.org/cgi-bin/export?bbox=#{bbox}&scale=#{scale}&format=#{format}"
+      redirect_to "https://render.openstreetmap.org/cgi-bin/export?bbox=#{bbox}&scale=#{scale}&format=#{format}", :allow_other_host => true
     end
   end