allow to make form field optional

This commit is contained in:
Alex Turchyn committed 2023-06-20 00:24:39 +03:00
1 parent 24380784a0
commit 4094bb03b7
12 files changed
+127 -32

No files matched your search

+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