From 2d93313aab91de860aeac74b3e016c0e8234de21 Mon Sep 17 00:00:00 2001 From: angus Date: Fri, 12 Mar 2021 18:38:50 +1100 Subject: [PATCH] Make start check boolean --- serializers/custom_wizard/wizard_serializer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serializers/custom_wizard/wizard_serializer.rb b/serializers/custom_wizard/wizard_serializer.rb index 5da72c16..9ab7291f 100644 --- a/serializers/custom_wizard/wizard_serializer.rb +++ b/serializers/custom_wizard/wizard_serializer.rb @@ -34,7 +34,7 @@ class CustomWizard::WizardSerializer < CustomWizard::BasicWizardSerializer end def include_start? - include_steps? && object.start + include_steps? && object.start.present? end def include_steps?