]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/notes/show.xml.builder
JSON: move root_attributes to shared folder
[rails.git] / app / views / api / notes / show.xml.builder
index 51b3daebd330db43c1cae2036a4efcff42cf2781..bb87fe76298ccb57efa6c6685b5a003cc59902b0 100644 (file)
@@ -1,5 +1,5 @@
 xml.instruct!
 
 xml.osm(OSM::API.new.xml_root_attributes) do |osm|
-  osm << render(:partial => "note", :object => @note)
+  osm << render(@note)
 end