X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f02729fa9a29089224502fecc7bf347fa73db0dd..aa1fb6dbb8c2e71b8ce8c231ae1272a2dfebd75a:/app/views/notes/_note.gpx.builder?ds=sidebyside diff --git a/app/views/notes/_note.gpx.builder b/app/views/notes/_note.gpx.builder index 9d8ede249..f6bb39d27 100644 --- a/app/views/notes/_note.gpx.builder +++ b/app/views/notes/_note.gpx.builder @@ -6,7 +6,7 @@ xml.wpt("lon" => note.lon, "lat" => note.lat) do xml.cdata! render(:partial => "description", :object => note, :formats => [:html]) end - xml.link("href" => browse_note_url(note, :host => SERVER_URL)) + xml.link("href" => browse_note_url(note, :only_path => false)) xml.extensions do xml.id note.id