comment mention notifications

This commit is contained in:
Rei
2014-02-03 20:19:06 +08:00
parent 853f25f361
commit 20ae32a512
6 changed files with 59 additions and 14 deletions

View File

@@ -42,4 +42,11 @@ module CommentsHelper
doc.to_html
end
def comment_permarlink(comment)
case comment.commentable
when Topic
topic_path(comment.commentable, page: comment.page, anchor: "comment-#{comment.id}")
end
end
end