Routes: add redirect from dossier/id to dossier/id/modifier

This commit is contained in:
simon lehericey 2018-02-28 11:57:47 +01:00
parent 2cacbd28cb
commit 2a70ec9a25

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