allow to draw signature on mobile
This commit is contained in:
@@ -105,9 +105,12 @@ Rails.application.routes.draw do
|
||||
end
|
||||
|
||||
resources :submit_form, only: %i[show update], path: 's', param: 'slug' do
|
||||
resources :values, only: %i[index], controller: 'submit_form_values'
|
||||
get :completed
|
||||
end
|
||||
|
||||
resources :submit_form_draw_signature, only: %i[show], path: 'p', param: 'slug'
|
||||
|
||||
resources :submissions_preview, only: %i[show], path: 'e', param: 'slug' do
|
||||
get :completed
|
||||
end
|
||||
|
||||
@@ -21,6 +21,10 @@ const configs = generateWebpackConfig({
|
||||
test: /\/node_modules\//,
|
||||
chunks: chunk => chunk.name === 'application'
|
||||
},
|
||||
drawVendors: {
|
||||
test: /\/node_modules\//,
|
||||
chunks: chunk => chunk.name === 'draw'
|
||||
},
|
||||
formVendors: {
|
||||
test: /\/node_modules\//,
|
||||
chunks: chunk => chunk.name === 'form'
|
||||
|
||||
Reference in New Issue
Block a user