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
|
end
|
||||||
get 'attestation'
|
get 'attestation'
|
||||||
end
|
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
|
end
|
||||||
|
|
||||||
scope module: 'new_gestionnaire', as: 'gestionnaire' do
|
scope module: 'new_gestionnaire', as: 'gestionnaire' do
|
||||||
|
|
Loading…
Add table
Reference in a new issue