]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/map_controller.rb
Merge branch 'master' into tag-colour-preview-rebase
[rails.git] / app / controllers / api / map_controller.rb
index c783759bc6aef0ef625721ea0dee02e24ea1d5bc..b0998f7ebaa9aa6ae49f8aa125f0583f5353049e 100644 (file)
@@ -90,7 +90,7 @@ module Api
 
       response.headers["Content-Disposition"] = "attachment; filename=\"map.osm\""
       # Render the result
-      render formats: [:xml]
+      render :formats => [:xml]
     end
   end
 end