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