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