]> git.openstreetmap.org Git - rails.git/blob - app/views/changeset/comments_feed.rss.builder
Merge remote-tracking branch 'upstream/master' into routing
[rails.git] / app / views / changeset / comments_feed.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('changeset.rss.title_particular', :changeset_id => @changeset.id)
6     else
7       xml.title t('changeset.rss.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
14