change mime type and reformat search controller
[rails.git] / app / controllers / old_segment_controller.rb
index a35a622f975d846575c63e80012652d8d287e849..1f64987ed6402f9647ad01bf7f14984cf775741b 100644 (file)
@@ -1,7 +1,7 @@
 class OldSegmentController < ApplicationController
 
   def history
-    response.headers["Content-Type"] = 'application/xml'
+    response.headers["Content-Type"] = 'text/xml'
     segment = Segment.find(params[:id])
 
     unless segment