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