From: Kai Krueger Date: Sat, 20 Jul 2013 20:06:29 +0000 (-0600) Subject: Return "action" of a note comment in the xml formatting to X-Git-Tag: live~4884 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/f3d5a215adcc27ceca6518368befdaf373cf2b32?ds=inline Return "action" of a note comment in the xml formatting to This fixes #360 --- diff --git a/app/views/notes/_note.xml.builder b/app/views/notes/_note.xml.builder index 2b978e325..ee9570205 100644 --- a/app/views/notes/_note.xml.builder +++ b/app/views/notes/_note.xml.builder @@ -27,6 +27,8 @@ xml.note("lon" => note.lon, "lat" => note.lat) do xml.user_url user_url(:display_name => comment.author.display_name, :host => SERVER_URL) end + xml.action comment.event + if comment.body xml.text comment.body.to_text xml.html comment.body.to_html