X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b4dbf6233c3785e62af5bd313381f1844e5bbc19..3914050fcc24c8727c485412a69b12292bbf213d:/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