X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/78f608b114c05f1147936a57b930831e28000c1a..ba5107ebb543a396fc78069c75c431e4d3887ee1:/app/views/notes/_note.xml.builder diff --git a/app/views/notes/_note.xml.builder b/app/views/notes/_note.xml.builder index a68946bb7..187772676 100644 --- a/app/views/notes/_note.xml.builder +++ b/app/views/notes/_note.xml.builder @@ -14,8 +14,8 @@ xml.note("lon" => note.lon, "lat" => note.lat) 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.uid comment.author.id unless comment.author.nil? + xml.user comment.author.display_name unless comment.author.nil? xml.text comment.body end end