Add child Quantity action added
This commit is contained in:
@@ -17,6 +17,7 @@ en:
|
||||
field_code: 'Formula'
|
||||
field_shortname: 'Short name'
|
||||
button_retake: 'Retake'
|
||||
button_child: 'Child'
|
||||
activerecord:
|
||||
errors:
|
||||
models:
|
||||
|
||||
@@ -27,6 +27,8 @@ resources :projects, shallow: true do
|
||||
resources :sources, only: [:index, :create, :destroy]
|
||||
resources :quantities, only: [:index, :new, :create, :edit, :update, :destroy] do
|
||||
member do
|
||||
get 'new_child'
|
||||
post 'create_child'
|
||||
post 'move/:direction', to: 'quantities#move', as: :move
|
||||
end
|
||||
collection do
|
||||
|
||||
Reference in New Issue
Block a user