[refs #114] fix email bug

This commit is contained in:
Alexander Machehin 2012-01-25 13:21:41 +06:00
parent 61be317b21
commit b7c2b4d35b
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
- link = link_to @comment.commentable.title, [@comment.commentable.project, @comment.commentable]
- object = 'задаче'
- elsif @comment.commentable.class == Grit::Commit
- link = link_to @comment.commentable.message, commit_path(@comment.project, @comment.commentable_id])
- link = link_to @comment.commentable.message, commit_path(@comment.project, @comment.commentable_id)
- object = 'коммиту'
%p #{ link_to @comment.user.uname, user_path(@comment.user)} добавил комментарий к #{object} #{link}.