change mime type and reformat search controller
[rails.git] / app / controllers / old_way_controller.rb
index 8eca507ef91b96c12aee0198debec05d24861f8c..451ddf4ea0ba9256c74213956703799e444999d9 100644 (file)
@@ -1,6 +1,6 @@
 class OldWayController < ApplicationController
   def history
-    response.headers["Content-Type"] = 'application/xml'
+    response.headers["Content-Type"] = 'text/xml'
     way = Way.find(params[:id])
 
     unless way