diff --git a/app/controllers/claims_form_callbacks.rb b/app/controllers/claims_form_callbacks.rb index 49ac10bdb6..3dacfdd5c2 100644 --- a/app/controllers/claims_form_callbacks.rb +++ b/app/controllers/claims_form_callbacks.rb @@ -73,6 +73,11 @@ def check_your_answers_after_form_save_success create_and_save_claim_form end + def employee_email_after_form_save_failure + session[:slugs].delete("employee-email") + render_template_for_current_slug + end + private def set_backlink_override_to_current_slug