X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/78f608b114c05f1147936a57b930831e28000c1a..aa143f047bd65e66588044e71562af6dd2863690:/app/views/notes/index.rss.builder diff --git a/app/views/notes/index.rss.builder b/app/views/notes/index.rss.builder index d6ee2bbad..53806f502 100644 --- a/app/views/notes/index.rss.builder +++ b/app/views/notes/index.rss.builder @@ -8,6 +8,6 @@ xml.rss("version" => "2.0", xml.description t('note.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(:partial => "note", :collection => @notes) || "") end end