dossier: remove route hack for show

This commit is contained in:
Pierre de La Morinerie 2018-07-31 13:33:50 +00:00
parent 6f1d867054
commit c8409ecb89
3 changed files with 4 additions and 6 deletions

View file

@ -243,6 +243,7 @@ Rails.application.routes.draw do
get 'identite'
patch 'update_identite'
get 'modifier'
patch 'modifier', to: 'dossiers#update'
get 'merci'
post 'ask_deletion'
get 'attestation'
@ -250,9 +251,6 @@ Rails.application.routes.draw do
collection do
post 'recherche'
# FIXME: to remove when show is implemeted
# needed to fix refresh after dossier draft save
get ':id', to: redirect('/dossiers/%{id}/modifier')
end
end
end