From c2a1ba4f7a490916ffc3daf1dc677d695a7a9a61 Mon Sep 17 00:00:00 2001 From: hellekin Date: Tue, 6 Oct 2020 11:51:37 +0200 Subject: Fix URL --- app/views/application/_user_info.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views') diff --git a/app/views/application/_user_info.html.erb b/app/views/application/_user_info.html.erb index 4549684..8e90501 100644 --- a/app/views/application/_user_info.html.erb +++ b/app/views/application/_user_info.html.erb @@ -7,7 +7,7 @@ "Agent: %s" % current_agent end, id: 'current_agent_name') %> <%= tag.li link_to("Ajouter un point", new_resource_url) %> - <%= tag.li link_to("Mon compte", user_url(current_user.id)) %> + <%= tag.li link_to("Mon compte", account_url(current_user.id)) %> <%= tag.li link_to("Terminer la session", logout_url) %> <% else %> -- cgit v1.2.3