X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/00375024263970a43ea7d39e3c65dfd0f32e8869..dca0be1886d9b9fcd2cab1b7c82ac4132fbf722b:/app/views/notes/index.gpx.builder?ds=sidebyside diff --git a/app/views/notes/index.gpx.builder b/app/views/notes/index.gpx.builder index 7a3046027..5207ec3f8 100644 --- a/app/views/notes/index.gpx.builder +++ b/app/views/notes/index.gpx.builder @@ -1,7 +1,9 @@ xml.instruct! xml.gpx("version" => "1.1", + "creator" => "OpenStreetMap.org", + "xmlns" => "http://www.topografix.com/GPX/1/1", "xmlns:xsi" => "http://www.w3.org/2001/XMLSchema-instance", "xsi:schemaLocation" => "http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd") do - xml << render(:partial => "note", :collection => @notes) + xml << (render(:partial => "note", :collection => @notes) || "") end