X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b4dbf6233c3785e62af5bd313381f1844e5bbc19..71f01eab43c0185b7e8368980f474a2587ed3710:/app/views/api/notes/show.gpx.builder diff --git a/app/views/api/notes/show.gpx.builder b/app/views/api/notes/show.gpx.builder index f87ff4dd9..750d01f56 100644 --- a/app/views/api/notes/show.gpx.builder +++ b/app/views/api/notes/show.gpx.builder @@ -5,5 +5,5 @@ xml.gpx("version" => "1.1", "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", :object => @note) + xml << render(@note) end