X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/3d7eb387a7c3573f1a1d17df00adcaa1fb9b9fa5..dfa2fd7d3d969cb196692dc3e7692153ae6ea5b8:/app/views/notes/show.xml.builder diff --git a/app/views/notes/show.xml.builder b/app/views/notes/show.xml.builder index cfb28c20e..f16cda3a6 100644 --- a/app/views/notes/show.xml.builder +++ b/app/views/notes/show.xml.builder @@ -1,3 +1,5 @@ xml.instruct! -xml << render(:partial => "note", :object => @note) +xml.osm(:version => API_VERSION, :generator => GENERATOR) do |osm| + osm << render(:partial => "note", :object => @note) +end