Include the event type in the JSON output of a note

This commit is contained in:
Tom Hughes 2012-03-09 00:29:22 +00:00
parent 82cf356d85
commit 85d17f257c

View file

@ -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