X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/00375024263970a43ea7d39e3c65dfd0f32e8869..b4dbf6233c3785e62af5bd313381f1844e5bbc19:/app/views/notes/_note.xml.builder diff --git a/app/views/notes/_note.xml.builder b/app/views/notes/_note.xml.builder deleted file mode 100644 index 2a2b2ffc1..000000000 --- a/app/views/notes/_note.xml.builder +++ /dev/null @@ -1,21 +0,0 @@ -xml.note("lon" => note.lon, "lat" => note.lat) do - xml.id note.id - xml.date_created note.created_at - xml.nearby note.nearby_place - xml.status note.status - - if note.status == "closed" - xml.date_closed note.closed_at - end - - xml.comments do - note.comments.each do |comment| - xml.comment do - xml.date comment.created_at - xml.uid comment.author_id unless comment.author_id.nil? - xml.user comment.author_name - xml.text comment.body - end - end - end -end