]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notes/index.xml.builder
Don't linkify comments in the changeset list
[rails.git] / app / views / notes / index.xml.builder
index 38b239afc98e40bd5aec7ef58ebde5ce4de35593..c1c2be7e40a79d2e1eec16a6129443d2119c7f49 100644 (file)
@@ -1,3 +1,5 @@
 xml.instruct!
 
 xml.instruct!
 
-xml << render(:partial => "note", :collection => @notes)
+xml.osm(:version => API_VERSION, :generator => GENERATOR) do |osm|
+  osm << (render(:partial => "note", :collection => @notes) || "")
+end