From 85d17f257c338f668a1d17d9fc62a2f48ec84230 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 9 Mar 2012 00:29:22 +0000 Subject: [PATCH] Include the event type in the JSON output of a note --- app/views/note/_note.json.jsonify | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/note/_note.json.jsonify b/app/views/note/_note.json.jsonify index a6ef9792e..ba9ccd944 100644 --- a/app/views/note/_note.json.jsonify +++ b/app/views/note/_note.json.jsonify @@ -16,6 +16,7 @@ json.properties do json.date comment.created_at json.uid comment.author_id unless comment.author_id.nil? json.user comment.author_name - json.text comment.body + json.action comment.event + json.text comment.body unless comment.body.nil? end end -- 2.45.1