Fix Sentry 114, Instructeur can delete pj in private champs

This commit is contained in:
Mathieu Magnin 2018-12-13 17:24:36 +01:00
parent 118caf60e4
commit edf3eefa87
5 changed files with 57 additions and 1 deletions

View file

@ -327,6 +327,10 @@ Rails.application.routes.draw do
post 'send-to-instructeurs' => 'dossiers#send_to_instructeurs'
post 'avis' => 'dossiers#create_avis'
get 'print' => 'dossiers#print'
resources :champs, only: [] do
delete 'purge_champ_piece_justificative' => 'dossiers#purge_champ_piece_justificative'
end
end
end
end