]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/changesets/changeset.builder
Merge pull request #2266 from systemed/patch-2
[rails.git] / app / views / api / changesets / changeset.builder
index e8da4006f531b71349b32831c03f2f2036ba87f8..cedfc81ea5ce34310cac041136bf9d5a39030f4f 100644 (file)
@@ -3,5 +3,5 @@ xml.instruct! :xml, :version => "1.0"
 # basic attributes
 
 xml.osm(OSM::API.new.xml_root_attributes) do |osm|
 # basic attributes
 
 xml.osm(OSM::API.new.xml_root_attributes) do |osm|
-  osm << render(:partial => "api/changesets/changeset.builder", :locals => { :changeset => @changeset })
+  osm << render(@changeset)
 end
 end