return a blank 0.4 osm xml doc when on data found
authorSteve Coast <steve@asklater.com>
Tue, 22 May 2007 11:22:17 +0000 (11:22 +0000)
committerSteve Coast <steve@asklater.com>
Tue, 22 May 2007 11:22:17 +0000 (11:22 +0000)
app/controllers/api_controller.rb

index 35a0f25b75a2332308b3c1856aef2e3d72e03aa4..f61c67d6e548c4ff438ad376aae820af4ef7768d 100644 (file)
@@ -155,7 +155,7 @@ class ApiController < ApplicationController
     end
 
     if node_ids.length == 0
-      render :text => '<osm></osm>'
+      render :text => "<osm version='0.4'></osm>"
       return
     end