X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/501d13e1c0936cc3ba3d9639620517bae34e5784..f0b2ed9bb6c1e153231b8088eabe6e3edcee9420:/app/views/changeset/_comments.rss.builder?ds=sidebyside diff --git a/app/views/changeset/_comments.rss.builder b/app/views/changeset/_comments.rss.builder index 8ad5cbaa7..5c683c86d 100644 --- a/app/views/changeset/_comments.rss.builder +++ b/app/views/changeset/_comments.rss.builder @@ -1,17 +1,15 @@ comments.each do |comment| xml.item do xml.title t("changeset.rss.comment", :author => comment.author.display_name, :changeset_id => comment.changeset.id.to_s) - + xml.link url_for(:controller => "browse", :action => "changeset", :id => comment.changeset.id, :anchor => "c#{comment.id}", :only_path => false) xml.guid url_for(:controller => "browse", :action => "changeset", :id => comment.changeset.id, :anchor => "c#{comment.id}", :only_path => false) xml.description do - xml.cdata! render(:partial => "comment", :object => comment, :formats => [ :html ]) + xml.cdata! render(:partial => "comment", :object => comment, :formats => [:html]) end - if comment.author - xml.dc :creator, comment.author.display_name - end + xml.dc :creator, comment.author.display_name if comment.author xml.pubDate comment.created_at.to_s(:rfc822) end