Move changeset comments controller to feeds module

This commit is contained in:
Anton Khorev 2024-08-23 17:40:26 +03:00
parent 30f975c609
commit 09d5ae68dd
11 changed files with 139 additions and 134 deletions

View file

@ -1,13 +0,0 @@
xml.rss("version" => "2.0",
"xmlns:dc" => "http://purl.org/dc/elements/1.1/") do
xml.channel do
if @changeset
xml.title t(".title_particular", :changeset_id => @changeset.id)
else
xml.title t(".title_all")
end
xml.link url_for(:controller => "site", :action => "index", :only_path => false)
xml << render(:partial => "comment", :collection => @comments)
end
end