before_filter :authorize
def create
+ response.headers["Content-Type"] = 'application/xml'
if request.put?
node = nil
begin
end
def rest
+ response.headers["Content-Type"] = 'application/xml'
unless Node.exists?(params[:id])
render :nothing => true, :status => 404
return
end
def history
+ response.headers["Content-Type"] = 'application/xml'
node = Node.find(params[:id])
unless node