]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/map_controller.rb
make email regex slightly more readable
[rails.git] / app / controllers / api / map_controller.rb
index e8a27042d0f0e0a88fa46875d53bfc1c48dbe01d..b0998f7ebaa9aa6ae49f8aa125f0583f5353049e 100644 (file)
@@ -90,9 +90,7 @@ module Api
 
       response.headers["Content-Disposition"] = "attachment; filename=\"map.osm\""
       # Render the result
-      respond_to do |format|
-        format.xml
-      end
+      render :formats => [:xml]
     end
   end
 end