]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notes/_note.gpx.builder
Merge branch 'wheres_this' of https://github.com/pnorman/openstreetmap-website into...
[rails.git] / app / views / notes / _note.gpx.builder
index 9d8ede249d80a711c74b39794700b5bbf30ab014..f6bb39d27dc1347883785c5a76546fa42ecb12d2 100644 (file)
@@ -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