Remove the author_name field from notes

This commit is contained in:
Tom Hughes 2012-12-02 16:29:00 +00:00
parent 7ec003dd01
commit ba5107ebb5
16 changed files with 79 additions and 81 deletions

View file

@ -12,7 +12,11 @@ xml.item do
xml.link browse_note_url(note)
xml.guid note_url(note)
xml.description render(:partial => "description", :object => note, :formats => [ :html ])
xml.author note.comments.first.author_name
if note.author
xml.author note.author_display_name
end
xml.pubDate note.updated_at.to_s(:rfc822)
xml.geo :lat, note.lat
xml.geo :long, note.lon