]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changeset_comments/index.rss.builder
Merge remote-tracking branch 'upstream/pull/4897'
[rails.git] / app / views / changeset_comments / index.rss.builder
index f6d304a4cbd9bf8c6a4da50d1dba7341cbd23650..f055c20144c6c9e257552a66d5e7c4bac5fa6e70 100644 (file)
@@ -2,12 +2,12 @@ xml.rss("version" => "2.0",
         "xmlns:dc" => "http://purl.org/dc/elements/1.1/") do
   xml.channel do
     if @changeset
-      xml.title t("changeset.rss.title_particular", :changeset_id => @changeset.id)
+      xml.title t(".title_particular", :changeset_id => @changeset.id)
     else
-      xml.title t("changeset.rss.title_all")
+      xml.title t(".title_all")
     end
     xml.link url_for(:controller => "site", :action => "index", :only_path => false)
 
-    xml << render(:partial => "comments", :object => @comments)
+    xml << render(:partial => "comment", :collection => @comments)
   end
 end