Add created_at to comments

This commit is contained in:
Benjamin Neff 2016-12-29 18:10:52 +01:00 committed by Dennis Schubert
parent 99c52f055c
commit b79ccc5207
No known key found for this signature in database
GPG key ID: 5A0304BEA7966D7E

View file

@ -40,6 +40,7 @@ module Diaspora
guid: comment.guid,
parent_guid: comment.post.guid,
text: comment.text,
created_at: comment.created_at,
author_signature: comment.signature.try(:author_signature),
parent: related_entity(comment.post)
},