]> git.openstreetmap.org Git - rails.git/blob - app/views/api/notes/index.xml.builder
Avoid stating the action to render when it just matches the current action
[rails.git] / app / views / api / notes / index.xml.builder
1 xml.instruct!
2
3 xml.osm(OSM::API.new.xml_root_attributes) do |osm|
4   osm << (render(:partial => "note", :collection => @notes) || "")
5 end