completed action shared link

pull/493/head
Pete Matsyburka 5 months ago
parent 1d48fe9621
commit a7bb96464c

@ -67,6 +67,8 @@ class StartFormController < ApplicationController
end end
def completed def completed
return redirect_to start_form_path(@template.slug) if !@template.shared_link? || @template.archived_at?
@submitter = Submitter.where(submission: @template.submissions) @submitter = Submitter.where(submission: @template.submissions)
.where.not(completed_at: nil) .where.not(completed_at: nil)
.find_by!(email: params[:email]) .find_by!(email: params[:email])

Loading…
Cancel
Save