[#369] truncate activity comment body

This commit is contained in:
Alexander Machehin 2014-04-08 18:59:59 +06:00
parent 54ce497e61
commit cb45fe6aed
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ module Feed::Comment
user_name: user.name, user_name: user.name,
user_email: user.email, user_email: user.email,
user_id: user_id, user_id: user_id,
comment_body: body, comment_body: truncate(body, 1000, omission: '…'),
issue_title: commentable.title, issue_title: commentable.title,
issue_serial_id: commentable.serial_id, issue_serial_id: commentable.serial_id,
project_id: commentable.project.id, project_id: commentable.project.id,