allow to make form field optional

This commit is contained in:
Alex Turchyn
2023-06-20 00:24:39 +03:00
parent 24380784a0
commit 4094bb03b7
12 changed files with 127 additions and 32 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ Rails.application.routes.draw do
resources :submissions, only: %i[index new create]
end
resources :start_form, only: %i[show update], path: 't', param: 'slug' do
resources :start_form, only: %i[show update], path: 'd', param: 'slug' do
get :completed
end