Apply review suggestion from @nilsding
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
This commit is contained in:
parent
778d4c7b44
commit
e01e973d76
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue