Fix missing question mark in registrations_enabled? method call

This commit is contained in:
Andreas Nedbal 2024-08-12 00:02:53 +02:00 committed by Andreas Nedbal
parent 854a506244
commit 9be01a2a2d

View file

@ -51,7 +51,7 @@
type: :button, type: :button,
data: { data: {
loading_text: t(".load"), loading_text: t(".load"),
promote: user_signed_in? || !user_signed_in? && !Retrospring::Config.registrations_enabled ? "false" : "true", promote: user_signed_in? || !user_signed_in? && !Retrospring::Config.registrations_enabled? ? "false" : "true",
"character-count-target": "action" "character-count-target": "action"
} }
} }