Remove the author_name field from notes
This commit is contained in:
parent
7ec003dd01
commit
ba5107ebb5
16 changed files with 79 additions and 81 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue