X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/0c8ad2f86edefed72052b402742cadedb0d674d9..36bd2468e0b7610210fde13911e133714dc8568a:/app/views/notes/index.xml.builder diff --git a/app/views/notes/index.xml.builder b/app/views/notes/index.xml.builder index 38b239afc..1e230b55d 100644 --- a/app/views/notes/index.xml.builder +++ b/app/views/notes/index.xml.builder @@ -1,3 +1,3 @@ xml.instruct! -xml << render(:partial => "note", :collection => @notes) +xml.notes << (render(:partial => "note", :collection => @notes) || "")