]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/changesets/changeset.builder
Move user preference XML generation to a view
[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|
-  osm << render(:partial => "api/changesets/changeset.builder", :locals => { :changeset => @changeset })
+  osm << render(@changeset)
 end