Merge pull request #1502 from betagouv/fix_refresh_on_new_form
Routes: add redirect from dossier/id to dossier/id/modifier
This commit is contained in:
commit
febd7644ab
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