Implement atomic operations on MapEditor
This commit is contained in:
parent
d3ea20968e
commit
05e408225b
9 changed files with 258 additions and 101 deletions
|
@ -120,6 +120,12 @@ Rails.application.routes.draw do
|
|||
get ':position/siret', to: 'siret#show', as: :siret
|
||||
get ':position/dossier_link', to: 'dossier_link#show', as: :dossier_link
|
||||
post ':position/carte', to: 'carte#show', as: :carte
|
||||
|
||||
get ':champ_id/carte/features', to: 'carte#index', as: :carte_features
|
||||
post ':champ_id/carte/features', to: 'carte#create'
|
||||
patch ':champ_id/carte/features/:id', to: 'carte#update'
|
||||
delete ':champ_id/carte/features/:id', to: 'carte#destroy'
|
||||
|
||||
post ':position/repetition', to: 'repetition#show', as: :repetition
|
||||
put 'piece_justificative/:champ_id', to: 'piece_justificative#update', as: :piece_justificative
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue