]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changeset_comments/index.rss.builder
Replace collection partial with single item in changeset comments feed
[rails.git] / app / views / changeset_comments / index.rss.builder
index acaa54727279e21a7a6816c5f8d39fad26b5bce8..f055c20144c6c9e257552a66d5e7c4bac5fa6e70 100644 (file)
@@ -8,6 +8,6 @@ xml.rss("version" => "2.0",
     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