X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f7367baa6b6091df3eabbe8b7a4b99e3fa314743..e42e95c3decfea7770c8d5b2df2fbd5bb3de17ef:/app/views/api/notes/_note.gpx.builder diff --git a/app/views/api/notes/_note.gpx.builder b/app/views/api/notes/_note.gpx.builder index 0753b1914..bb5cac1c9 100644 --- a/app/views/api/notes/_note.gpx.builder +++ b/app/views/api/notes/_note.gpx.builder @@ -1,12 +1,12 @@ xml.wpt("lon" => note.lon, "lat" => note.lat) do xml.time note.created_at.to_fs(:iso8601) - xml.name t("browse.note.title", :id => note.id) + xml.name t("notes.show.title", :id => note.id) xml.desc do xml.cdata! render(:partial => "description", :object => note, :formats => [:html]) end - xml.link("href" => browse_note_url(note, :only_path => false)) + xml.link("href" => note_url(note, :only_path => false)) xml.extensions do xml.id note.id