]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notes/show.xml.builder
Move the user api methods into a separate controller in the api namespace
[rails.git] / app / views / notes / show.xml.builder
index cfb28c20e1b7d70028b0a5e302c8afcb4c045890..51b3daebd330db43c1cae2036a4efcff42cf2781 100644 (file)
@@ -1,3 +1,5 @@
 xml.instruct!
 
-xml << render(:partial => "note", :object => @note)
+xml.osm(OSM::API.new.xml_root_attributes) do |osm|
+  osm << render(:partial => "note", :object => @note)
+end