]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/notes/index.rss.builder
Merge pull request #4202 from tomhughes/changeset-comment-limit
[rails.git] / app / views / api / notes / index.rss.builder
index 96ba4b73412cb5ddc3bd496ce01b442607150d0c..95ea0b3b11394ca7a2b76b8b8dc6776ed19c7b14 100644 (file)
@@ -9,6 +9,6 @@ xml.rss("version" => "2.0",
     xml.description t("api.notes.rss.description_area", :min_lat => @min_lat, :min_lon => @min_lon, :max_lat => @max_lat, :max_lon => @max_lon)
     xml.link url_for(:controller => "/site", :action => "index", :only_path => false)
 
-    xml << (render(:partial => "note", :collection => @notes) || "")
+    xml << (render(@notes) || "")
   end
 end