[#369] truncate activity comment body
This commit is contained in:
parent
54ce497e61
commit
cb45fe6aed
|
@ -23,7 +23,7 @@ module Feed::Comment
|
|||
user_name: user.name,
|
||||
user_email: user.email,
|
||||
user_id: user_id,
|
||||
comment_body: body,
|
||||
comment_body: truncate(body, 1000, omission: '…'),
|
||||
issue_title: commentable.title,
|
||||
issue_serial_id: commentable.serial_id,
|
||||
project_id: commentable.project.id,
|
||||
|
|
Loading…
Reference in New Issue