X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6403515897e52457016ce8703cbbc0f9b2bbf56d..dd29af0ec4adc05f1e6f6be0af0c23724492aef8:/app/views/api/notes/_note.rss.builder?ds=sidebyside 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}"