]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changeset/_comments.rss.builder
Split changeset comment handling into a changeset_comments controller
[rails.git] / app / views / changeset / _comments.rss.builder
diff --git a/app/views/changeset/_comments.rss.builder b/app/views/changeset/_comments.rss.builder
deleted file mode 100644 (file)
index 8ad5cba..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-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 ])
-    end
-
-    if comment.author
-      xml.dc :creator, comment.author.display_name
-    end
-
-    xml.pubDate comment.created_at.to_s(:rfc822)
-  end
-end