feat(administrateurs/types_de_champ_controller#move_and_morph): add action to move and morph fields between two coordinates

This commit is contained in:
Martin 2024-01-03 10:30:29 +01:00
parent d4b4274d26
commit 4073804b00
4 changed files with 58 additions and 0 deletions

View file

@ -623,6 +623,7 @@ Rails.application.routes.draw do
resources :types_de_champ, only: [:create, :update, :destroy], param: :stable_id do
member do
patch :move
patch :move_and_morph
patch :move_up
patch :move_down
put :piece_justificative_template