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:
Paul Chavard 2018-02-28 13:56:16 +01:00 committed by GitHub
commit febd7644ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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