Fix "other" comment notification case not linking to answer

This commit is contained in:
Andreas Nedbal 2022-08-30 22:56:13 +02:00
parent dbaa6137dc
commit d867352bf7
1 changed files with 1 additions and 1 deletions

View File

@ -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