end move up and down button for type de champ
This commit is contained in:
parent
2d8ffc949d
commit
37b4823e9a
5 changed files with 54 additions and 155 deletions
|
@ -43,8 +43,8 @@ Rails.application.routes.draw do
|
|||
get 'sign_in' => '/administrateurs/sessions#new'
|
||||
resources :procedures do
|
||||
resource :types_de_champ, only: [:show, :update] do
|
||||
post '/:index/move_up' => 'types_de_champ#move_up'
|
||||
post '/:index/move_down' => 'types_de_champ#move_down'
|
||||
post '/:index/move_up' => 'types_de_champ#move_up', as: :move_up
|
||||
post '/:index/move_down' => 'types_de_champ#move_down', as: :move_down
|
||||
end
|
||||
resources :types_de_champ, only: [:destroy]
|
||||
resource :pieces_justificatives, only: [:edit, :update]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue