Harmonize user champ pj purge route to gestionnaire

This commit is contained in:
Mathieu Magnin 2018-12-14 11:38:59 +01:00
parent e0abb09a6c
commit 5ab0853f1c
2 changed files with 5 additions and 2 deletions

View file

@ -284,7 +284,10 @@ Rails.application.routes.draw do
post 'commentaire' => 'dossiers#create_commentaire'
post 'ask_deletion'
get 'attestation'
delete 'purge_champ_piece_justificative'
resources :champs, only: [] do
delete 'purge_champ_piece_justificative' => 'dossiers#purge_champ_piece_justificative'
end
end
collection do