X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/12c1d5e6c05813a0697724277b4d8529a1a7c240..606492c3df124092ed119716c5b1cbe922f6b315:/app/views/changeset_comments/_comments.rss.builder?ds=sidebyside diff --git a/app/views/changeset_comments/_comments.rss.builder b/app/views/changeset_comments/_comments.rss.builder index 59973965f..b1344b488 100644 --- a/app/views/changeset_comments/_comments.rss.builder +++ b/app/views/changeset_comments/_comments.rss.builder @@ -2,8 +2,8 @@ comments.each do |comment| xml.item do 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])