routes: replace the email param in the Avis URLs by a query param
This commit is contained in:
parent
ab442cd8d1
commit
b5bde6608c
7 changed files with 14 additions and 9 deletions
|
@ -91,7 +91,7 @@ module Experts
|
|||
redirect_to url_for(expert_all_avis_path)
|
||||
else
|
||||
flash[:alert] = user.errors.full_messages
|
||||
redirect_to url_for(sign_up_expert_avis_path(procedure_id, avis_id, email))
|
||||
redirect_to sign_up_expert_avis_path(procedure_id, avis_id, email: email)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue