From 188b89a3c815e02730c9d73e55f064fd0802369f Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Tue, 1 Jun 2021 11:29:57 +0200 Subject: [PATCH] manager: fix polymorphic route exception when viewing user emails Since the last Rails update, arguments to polymorphic routes must be symbols, otherwise an exception is raised. --- app/views/manager/users/emails.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/manager/users/emails.html.erb b/app/views/manager/users/emails.html.erb index b6ef69f21..1b9991d72 100644 --- a/app/views/manager/users/emails.html.erb +++ b/app/views/manager/users/emails.html.erb @@ -93,7 +93,7 @@ https://www.demarches-simplifiees.fr/users/password/new Bien cordialement <% else %> -

Ce compte n’est pas activé. Vous pouvez lui <%= link_to('renvoyer l’email de confirmation', [:resend_confirmation_instructions, namespace, 'user'], method: :post, class: 'button') %>, puis un email.

+

Ce compte n’est pas activé. Vous pouvez lui <%= link_to('renvoyer l’email de confirmation', [:resend_confirmation_instructions, namespace, :user], method: :post, class: 'button') %>, puis un email.