]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changeset/list.rxml
Fixup links to changeset lists.
[rails.git] / app / views / changeset / list.rxml
index 95e10e8fb1c6a61ff8a81831d4acc37168b3ff66..f97516e61550cea0e759f8a3c6c0cea8226bc8ca 100644 (file)
@@ -2,18 +2,17 @@ xml.rss("version" => "2.0",
         "xmlns:geo" => "http://www.w3.org/2003/01/geo/wgs84_pos#",
         "xmlns:georss" => "http://www.georss.org/georss") do
   xml.channel do
-    xml.title t('changeset.list_rss.title')
-    xml.description t('changeset.list_rss.description')
-    xml.link url_for(:controller => "browse", :action => "changesets", :only_path => false)
+    xml.title t('changeset.list.title')
+    xml.description @description
+    xml.link url_for(params.merge({ :only_path => false }))
     xml.image do
       xml.url "http://www.openstreetmap.org/images/mag_map-rss2.0.png"
       xml.title "OpenStreetMap"
       xml.width "100"
       xml.height "100"
-      xml.link url_for(:controller => "browse", :action => "changesets", :only_path => false)
+      xml.link url_for(params.merge({ :only_path => false }))
     end
 
-
     for changeset in @edits
       xml.item do
         xml.title t('browse.changeset.title') + " " + h(changeset.id)