refactor start form

This commit is contained in:
Pete Matsyburka
2025-06-01 15:16:00 +03:00
parent e41fe5fbca
commit 4e94664008
8 changed files with 98 additions and 35 deletions
+2
View File
@@ -132,6 +132,8 @@ Rails.application.routes.draw do
get :completed
end
resource :resubmit_form, controller: 'start_form', only: :update
resources :submit_form, only: %i[], path: '' do
get :success, on: :collection
end