X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6403515897e52457016ce8703cbbc0f9b2bbf56d..09225bc02df4eedd0f90376f1b86cb059de38d31:/app/views/api/notes/_note.rss.builder diff --git a/app/views/api/notes/_note.rss.builder b/app/views/api/notes/_note.rss.builder index 3e562d1a2..fa70536f7 100644 --- a/app/views/api/notes/_note.rss.builder +++ b/app/views/api/notes/_note.rss.builder @@ -9,13 +9,13 @@ xml.item do xml.title t("api.notes.rss.opened", :place => location) end - xml.link browse_note_url(note) - xml.guid note_url(note) + xml.link note_url(note) + xml.guid api_note_url(note) xml.description render(:partial => "description", :object => note, :formats => [:html]) xml.dc :creator, note.author.display_name if note.author - xml.pubDate note.created_at.to_formatted_s(:rfc822) + xml.pubDate note.created_at.to_fs(:rfc822) xml.geo :lat, note.lat xml.geo :long, note.lon xml.georss :point, "#{note.lat} #{note.lon}"