mirror of
https://github.com/zhigang1992/tsemple.git
synced 2026-04-30 21:52:18 +08:00
comment mention notifications
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user