change mime type and reformat search controller
[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)