Rename comments_feed to index
This commit is contained in:
parent
b7e871cb46
commit
4b0d56f7e1
4 changed files with 19 additions and 19 deletions
13
app/views/changeset_comments/index.rss.builder
Normal file
13
app/views/changeset_comments/index.rss.builder
Normal file
|
@ -0,0 +1,13 @@
|
|||
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)
|
||||
else
|
||||
xml.title t("changeset.rss.title_all")
|
||||
end
|
||||
xml.link url_for(:controller => "site", :action => "index", :only_path => false)
|
||||
|
||||
xml << render(:partial => "comments", :object => @comments)
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue