X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/0d3a9ed9cb47ce3b89ea9eaffbb589f9a9ff6d22..5dda4196d50774e8a44e9e137d45141d4151764b:/app/views/notes/index.gpx.builder diff --git a/app/views/notes/index.gpx.builder b/app/views/notes/index.gpx.builder index 7a3046027..5a7f34dbd 100644 --- a/app/views/notes/index.gpx.builder +++ b/app/views/notes/index.gpx.builder @@ -3,5 +3,5 @@ xml.instruct! xml.gpx("version" => "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