Appease the dog overlords
This commit is contained in:
parent
597f8b74cb
commit
38d6a47372
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue