X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/94b59f440321846760d430fee378f05a6a2803ee..83043d6f1cd85729a3f91e5c73d78a39b8ae7d04:/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