1 class OldNodeController < ApplicationController
4 response.headers["Content-Type"] = 'text/xml'
5 node = Node.find(params[:id])
8 render :nothing => true, :staus => 404
12 doc = OSM::API.new.get_xml_doc
14 node.old_nodes.each do |old_node|
15 doc.root << old_node.to_xml_node
18 render :text => doc.to_s