Merge pull request #652 from Retrospring/feature/notification-other-link
Fix "other" comment notification case not linking to answer
This commit is contained in:
commit
b167542156
|
@ -17,7 +17,7 @@
|
|||
- else
|
||||
= t(".heading_html",
|
||||
user: user_screen_name(notification.target.user),
|
||||
answer: link_to(t(".other.link_text_html", user: user_screen_name(notification.target.answer.user)), answer_path(username: notification.target.user.screen_name, id: notification.target.answer.id)),
|
||||
answer: link_to(t(".other.link_text_html", user: user_screen_name(notification.target.answer.user, url: false)), answer_path(username: notification.target.user.screen_name, id: notification.target.answer.id)),
|
||||
time: time_tooltip(notification.target))
|
||||
.list-group
|
||||
.list-group-item
|
||||
|
|
Loading…
Reference in New Issue