]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/way_controller.rb
close #411 segments should not be allowed where node_a == node_b
[rails.git] / app / controllers / way_controller.rb
index 8daac7cc2c543487a4015bbdd7c478d9ec3fee8e..875a29583293dd49dcffab7c40756334d57642cc 100644 (file)
@@ -86,7 +86,7 @@ class WayController < ApplicationController
   end
 
   def ways
-    response.headers["Content-Type"] = 'application/xml'
+    response.headers["Content-Type"] = 'text/xml'
     ids = params['ways'].split(',').collect {|w| w.to_i }
     if ids.length > 0
       waylist = Way.find(ids)