]> git.openstreetmap.org Git - rails.git/blob - app/views/api/user_preferences/index.xml.builder
Move user preference XML generation to a view
[rails.git] / app / views / api / user_preferences / index.xml.builder
1 xml.instruct!
2
3 xml.osm(OSM::API.new.xml_root_attributes) do |osm|
4   osm.preferences do |preferences|
5     preferences << (render(@user_preferences) || "")
6   end
7 end