]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notes/show.xml.builder
Fix stubbing of hostip requests
[rails.git] / app / views / notes / show.xml.builder
index cfb28c20e1b7d70028b0a5e302c8afcb4c045890..f16cda3a620746dbef9bdc20b3f8c19849ddd4c1 100644 (file)
@@ -1,3 +1,5 @@
 xml.instruct!
 
 xml.instruct!
 
-xml << render(:partial => "note", :object => @note)
+xml.osm(:version => API_VERSION, :generator => GENERATOR) do |osm|
+  osm << render(:partial => "note", :object => @note)
+end