Apply review suggestion from @nilsding

Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
This commit is contained in:
Andreas Nedbal 2023-10-22 17:42:56 +02:00
parent 778d4c7b44
commit e01e973d76
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ class QuestionComponent < ApplicationComponent
def initialize(question:, context_user: nil, collapse: true, hide_avatar: false, profile_question: false) def initialize(question:, context_user: nil, collapse: true, hide_avatar: false, profile_question: false)
@question = question @question = question
@context_user = context_user @context_user = context_user
@collapse = true @collapse = collapse
@hide_avatar = hide_avatar @hide_avatar = hide_avatar
@profile_question = profile_question @profile_question = profile_question
end end