]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/notes/_note.rss.builder
Refactor update element consistency check
[rails.git] / app / views / api / notes / _note.rss.builder
index 4dc47d158d5d12b41deae7e66e4bd5df095c5bc5..fa70536f79227a5cdaa4a5954c6c5076022c6125 100644 (file)
@@ -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}"