]> git.openstreetmap.org Git - rails.git/blob - app/views/api/notes/show.rss.builder
Use i18n at_least_pattern in issues count helper
[rails.git] / app / views / api / notes / show.rss.builder
1 xml.instruct!
2
3 xml.rss("version" => "2.0",
4         "xmlns:dc" => "http://purl.org/dc/elements/1.1/",
5         "xmlns:geo" => "http://www.w3.org/2003/01/geo/wgs84_pos#",
6         "xmlns:georss" => "http://www.georss.org/georss") do
7   xml.channel do
8     xml.title t("api.notes.rss.title")
9     xml.description t("api.notes.rss.description_item", :id => @note.id)
10     xml.link url_for(:controller => "/site", :action => "index", :only_path => false)
11
12     xml << render(@note)
13   end
14 end