diff --git a/app/serializers/wizard_field_choice_serializer.rb b/app/serializers/wizard_field_choice_serializer.rb index 38862540239..0a1fdf3e892 100644 --- a/app/serializers/wizard_field_choice_serializer.rb +++ b/app/serializers/wizard_field_choice_serializer.rb @@ -10,7 +10,7 @@ class WizardFieldChoiceSerializer < ApplicationSerializer def i18nkey field = object.field step = field.step - "wizard.step.#{step.id}.fields.#{field.id}.choices.#{id}" + "wizard.step.#{step.id}.fields.#{field.id}.choices.#{id}".underscore end def label