X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/19c2b92fb736e2b424981ce36c8ffd8f75c44d99..332fad14bb66da4b858034e6c544b6f4361ffde5:/app/views/changeset_comments/_comments.rss.builder diff --git a/app/views/changeset_comments/_comments.rss.builder b/app/views/changeset_comments/_comments.rss.builder index 5c683c86d..b1344b488 100644 --- a/app/views/changeset_comments/_comments.rss.builder +++ b/app/views/changeset_comments/_comments.rss.builder @@ -1,9 +1,9 @@ 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.title t(".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.link changeset_url(comment.changeset, :anchor => "c#{comment.id}") + xml.guid changeset_url(comment.changeset, :anchor => "c#{comment.id}") xml.description do xml.cdata! render(:partial => "comment", :object => comment, :formats => [:html]) @@ -11,6 +11,6 @@ comments.each do |comment| xml.dc :creator, comment.author.display_name if comment.author - xml.pubDate comment.created_at.to_s(:rfc822) + xml.pubDate comment.created_at.to_fs(:rfc822) end end