Merge pull request #10232 from demarches-simplifiees/redirect-fermeture-to-commencer-if-procedure-not-closed
Correctif: redirige la page fermeture vers la page commencer si la démarche n'est pas fermée
This commit is contained in:
commit
0c4a4c8764
1 changed files with 2 additions and 0 deletions
|
@ -83,6 +83,8 @@ module Users
|
|||
|
||||
return procedure_not_found if @procedure.blank?
|
||||
|
||||
redirect_to commencer_path(params[:path]) and return if !@procedure.close?
|
||||
|
||||
render 'closing_details', layout: 'closing_details'
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue