1 class OldWayController < ApplicationController
3 response.headers["Content-Type"] = 'application/xml'
4 way = Way.find(params[:id])
7 render :nothing => true, :staus => 404
13 way.old_ways.each do |old_way|
14 doc.root << old_way.to_xml_node
17 render :text => doc.to_s