dossier: add new page for SIRET identification

This commit is contained in:
Pierre de La Morinerie 2018-10-04 09:43:19 +02:00 committed by gregoirenovel
parent 1cf7568bb4
commit 54ba0f8e50
8 changed files with 70 additions and 5 deletions

View file

@ -61,7 +61,7 @@ class Users::DossiersController < UsersController
if dossier.procedure.for_individual
redirect_to identite_dossier_path(dossier)
else
redirect_to users_dossier_path(id: dossier.id)
redirect_to siret_dossier_path(id: dossier.id)
end
rescue ActiveRecord::RecordNotFound
error_procedure