fix specs

This commit is contained in:
Pete Matsyburka
2025-04-08 15:57:19 +03:00
parent c4505e67f0
commit b40c27cdbf
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -11,6 +11,8 @@ class StartFormController < ApplicationController
before_action :load_template
def show
raise ActionController::RoutingError, I18n.t('not_found') if @template.preferences['require_phone_2fa'] == true
@submitter = @template.submissions.new(account_id: @template.account_id)
.submitters.new(uuid: (filter_undefined_submitters(@template).first ||
@template.submitters.first)['uuid'])