]> git.openstreetmap.org Git - rails.git/blob - app/views/changeset_comments/index.rss.builder
Merge remote-tracking branch 'upstream/pull/4221'
[rails.git] / app / views / changeset_comments / index.rss.builder
1 xml.rss("version" => "2.0",
2         "xmlns:dc" => "http://purl.org/dc/elements/1.1/") do
3   xml.channel do
4     if @changeset
5       xml.title t(".title_particular", :changeset_id => @changeset.id)
6     else
7       xml.title t(".title_all")
8     end
9     xml.link url_for(:controller => "site", :action => "index", :only_path => false)
10
11     xml << render(:partial => "comments", :object => @comments)
12   end
13 end