From 29d79b2175baa917c812d9ba9bb38df2a36dfd18 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Thu, 27 Jan 2022 17:42:38 +0100 Subject: [PATCH] =?UTF-8?q?Confirmation=20avant=20de=20se=20d=C3=A9connect?= =?UTF-8?q?er?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/shared/_user_menu.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/shared/_user_menu.html.erb b/app/views/shared/_user_menu.html.erb index 8d1f336..77f903f 100644 --- a/app/views/shared/_user_menu.html.erb +++ b/app/views/shared/_user_menu.html.erb @@ -1,2 +1,2 @@ <%= link_to "Your Profile", account_path, class: common_classes + " " + active_classes %> -<%= button_to "Sign out", logout_path, method: :delete, class: common_classes + " " + active_classes + " text-left w-full", data: { 'turbo-confirm': "Are you sure?" } %> \ No newline at end of file +<%= button_to "Sign out", logout_path, method: :delete, class: common_classes + " " + active_classes + " text-left w-full", form: { data: { turbo_confirm: "Are you sure?" } } %> \ No newline at end of file