]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notes/show.xml.builder
Replace conditional comments with browser detection
[rails.git] / app / views / notes / show.xml.builder
index f16cda3a620746dbef9bdc20b3f8c19849ddd4c1..51b3daebd330db43c1cae2036a4efcff42cf2781 100644 (file)
@@ -1,5 +1,5 @@
 xml.instruct!
 
-xml.osm(:version => API_VERSION, :generator => GENERATOR) do |osm|
+xml.osm(OSM::API.new.xml_root_attributes) do |osm|
   osm << render(:partial => "note", :object => @note)
 end