Add new types_de_champ#move api
This commit is contained in:
parent
f5a66df802
commit
639facaf2a
4 changed files with 132 additions and 3 deletions
|
@ -372,7 +372,11 @@ Rails.application.routes.draw do
|
|||
get 'annotations'
|
||||
end
|
||||
|
||||
resources :types_de_champ, only: [:create, :update, :destroy]
|
||||
resources :types_de_champ, only: [:create, :update, :destroy] do
|
||||
member do
|
||||
patch :move
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
resources :services, except: [:show] do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue