X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/94b59f440321846760d430fee378f05a6a2803ee..01cbc40ed62f006398bcce62fc1f449b432b59b1:/app/views/api/notes/index.rss.builder diff --git a/app/views/api/notes/index.rss.builder b/app/views/api/notes/index.rss.builder index 96ba4b734..95ea0b3b1 100644 --- a/app/views/api/notes/index.rss.builder +++ b/app/views/api/notes/index.rss.builder @@ -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