From f3d5a215adcc27ceca6518368befdaf373cf2b32 Mon Sep 17 00:00:00 2001 From: Kai Krueger Date: Sat, 20 Jul 2013 14:06:29 -0600 Subject: [PATCH] Return "action" of a note comment in the xml formatting to This fixes #360 --- app/views/notes/_note.xml.builder | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.43.2