change mime type and reformat search controller
[rails.git] / app / controllers / old_node_controller.rb
index 2c0cca9bbbddc86ad573c5893575da0bd702d234..d8a833b1da7de86e3045212a9b19d1a5d04228c9 100644 (file)
@@ -1,7 +1,7 @@
 class OldNodeController < ApplicationController
 
   def history
-    response.headers["Content-Type"] = 'application/xml'
+    response.headers["Content-Type"] = 'text/xml'
     node = Node.find(params[:id])
 
     unless node