X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/8090e086daad67eac711ad6fd6a5eba6f28d44fd..b0a84cf1bff1f4c41f30680ceffd23ea28f93479:/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) || "")