Routes: add redirect from dossier/id to dossier/id/modifier
This commit is contained in:
parent
2cacbd28cb
commit
2a70ec9a25
1 changed files with 3 additions and 0 deletions
|
@ -210,6 +210,9 @@ Rails.application.routes.draw do
|
|||
end
|
||||
get 'attestation'
|
||||
end
|
||||
# FIXME: to remove when show is implemeted
|
||||
# needed to fix refresh after dossier draft save
|
||||
get 'dossiers/:id', to: redirect('/dossiers/%{id}/modifier')
|
||||
end
|
||||
|
||||
scope module: 'new_gestionnaire', as: 'gestionnaire' do
|
||||
|
|
Loading…
Reference in a new issue