dossier: remove route hack for show
This commit is contained in:
parent
6f1d867054
commit
c8409ecb89
3 changed files with 4 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue