Add new types_de_champ#move api

This commit is contained in:
Paul Chavard 2019-03-20 16:27:30 +03:00
parent f5a66df802
commit 639facaf2a
4 changed files with 132 additions and 3 deletions

View file

@ -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