]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/notes/_note.rss.builder
Rename api_notes resource to avoid conflict with non-API resource
[rails.git] / app / views / api / notes / _note.rss.builder
index 4dc47d158d5d12b41deae7e66e4bd5df095c5bc5..a26f54aa8eebd971a87f7d4742a6b675d9b374c3 100644 (file)
@@ -10,12 +10,12 @@ xml.item do
   end
 
   xml.link browse_note_url(note)
-  xml.guid 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}"