Appease the dog overlords

This commit is contained in:
Karina Kwiatek 2022-06-27 00:38:05 +02:00 committed by Karina Kwiatek
parent 597f8b74cb
commit 38d6a47372
1 changed files with 2 additions and 2 deletions

View File

@ -28,9 +28,9 @@ module ApplicationHelper::TitleMethods
def question_title(question) def question_title(question)
context_user = question.answers&.first&.user if question.direct context_user = question.answers&.first&.user if question.direct
name = user_screen_name question.user, name = user_screen_name question.user,
context_user: context_user, context_user: context_user,
author_identifier: question.author_is_anonymous ? question.author_identifier : nil, author_identifier: question.author_is_anonymous ? question.author_identifier : nil,
url: false url: false
generate_title name, "asked", question.content generate_title name, "asked", question.content
end end