From ddd7cfd81dea707d0619018aa688322b99b5f4ac Mon Sep 17 00:00:00 2001 From: Karina Kwiatek Date: Sun, 26 Jun 2022 20:47:29 +0200 Subject: [PATCH] Pass `author_identifier` in `question/question` partial --- app/views/question/_question.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/question/_question.haml b/app/views/question/_question.haml index b68cf563..8ba363a6 100644 --- a/app/views/question/_question.haml +++ b/app/views/question/_question.haml @@ -27,7 +27,7 @@ = t 'views.actions.report' %h6.text-muted.media-heading.answerbox__question-user - if hidden - = user_screen_name question.user, anonymous: question.author_is_anonymous, url: false + = user_screen_name question.user, anonymous_identifier: question.author_identifier, url: false - else = raw t('views.answerbox.asked', user: user_screen_name(question.user, author_identifier: question.author_identifier), time: time_tooltip(question)) .answerbox__question-text= question_markdown question.content