change 'no nodes' response to use API_VERSION in output

This commit is contained in:
Christopher Schmidt 2008-05-11 21:21:30 +00:00
parent 6f1aad0d04
commit 412472212b

View file

@ -120,7 +120,7 @@ class ApiController < ApplicationController
return
end
if node_ids.length == 0
render :text => "<osm version='0.5'></osm>", :content_type => "text/xml"
render :text => "<osm version='#{API_VERSION}'></osm>", :content_type => "text/xml"
return
end