From d867352bf7fe2ec09032d4b57de06545ae61b163 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Tue, 30 Aug 2022 22:56:13 +0200 Subject: [PATCH] Fix "other" comment notification case not linking to answer --- app/views/notifications/type/_comment.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/notifications/type/_comment.haml b/app/views/notifications/type/_comment.haml index 1e9cc4ca..42a01375 100644 --- a/app/views/notifications/type/_comment.haml +++ b/app/views/notifications/type/_comment.haml @@ -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