]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api_controller.rb
change 'no nodes' response to use API_VERSION in output
[rails.git] / app / controllers / api_controller.rb
index 26cb93a489cbd1f625b79ea727e0e58b78eccabf..6ede9ebe809a8389058fe90c24cd81989e082e37 100644 (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