]> git.openstreetmap.org Git - rails.git/blob - app/views/changeset_comments/_comments.rss.builder
Move changeset show action to changesets controller
[rails.git] / app / views / changeset_comments / _comments.rss.builder
1 comments.each do |comment|
2   xml.item do
3     xml.title t(".comment", :author => comment.author.display_name, :changeset_id => comment.changeset.id.to_s)
4
5     xml.link changeset_url(comment.changeset, :anchor => "c#{comment.id}")
6     xml.guid changeset_url(comment.changeset, :anchor => "c#{comment.id}")
7
8     xml.description do
9       xml.cdata! render(:partial => "comment", :object => comment, :formats => [:html])
10     end
11
12     xml.dc :creator, comment.author.display_name if comment.author
13
14     xml.pubDate comment.created_at.to_fs(:rfc822)
15   end
16 end