Use the right author name for bugs in RSS format
This commit is contained in:
parent
f77a3c75be
commit
ae844f3260
1 changed files with 1 additions and 5 deletions
|
@ -10,11 +10,7 @@ xml.item do
|
||||||
xml.link url_for(:controller => "browse", :action => "bug", :id => bug.id, :only_path => false)
|
xml.link url_for(:controller => "browse", :action => "bug", :id => bug.id, :only_path => false)
|
||||||
xml.guid url_for(:controller => "map_bugs", :action => "read", :id => bug.id, :only_path => false)
|
xml.guid url_for(:controller => "map_bugs", :action => "read", :id => bug.id, :only_path => false)
|
||||||
xml.description htmlize(bug.flatten_comment("<br><br>"))
|
xml.description htmlize(bug.flatten_comment("<br><br>"))
|
||||||
|
xml.author bug.author_name
|
||||||
unless bug.comments.empty?
|
|
||||||
xml.author bug.comments[-1].author_name
|
|
||||||
end
|
|
||||||
|
|
||||||
xml.pubDate bug.updated_at.to_s(:rfc822)
|
xml.pubDate bug.updated_at.to_s(:rfc822)
|
||||||
xml.geo :lat, bug.lat
|
xml.geo :lat, bug.lat
|
||||||
xml.geo :long, bug.lon
|
xml.geo :long, bug.lon
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue