X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/53aa7259bb0612eb48a17d0b954ad71ea37d87a4..14936150ac8ab5cb4e8347b772b2c966f2add43f:/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}"