From: Tom Hughes Date: Fri, 9 Mar 2012 00:29:22 +0000 (+0000) Subject: Include the event type in the JSON output of a note X-Git-Tag: live~5677^2~118 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/85d17f257c338f668a1d17d9fc62a2f48ec84230 Include the event type in the JSON output of a note --- 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