X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/94b59f440321846760d430fee378f05a6a2803ee..e42e95c3decfea7770c8d5b2df2fbd5bb3de17ef:/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 4dc47d158..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_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}"