From aea453f2b80234557515df6cdd20ed661be4604c Mon Sep 17 00:00:00 2001 From: yngzij Date: Tue, 19 Jul 2022 16:19:43 +0800 Subject: [PATCH] Fix link_to --- app/views/notifications/notifications/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/notifications/notifications/index.html.erb b/app/views/notifications/notifications/index.html.erb index 1cabbb5..3501817 100644 --- a/app/views/notifications/notifications/index.html.erb +++ b/app/views/notifications/notifications/index.html.erb @@ -3,7 +3,7 @@ <%= t('notifications.all_notifications') %> - <%= link_to t('notifications.clean_all'), notifications.clean_notifications_path, class: 'btn btn-sm btn-secondary', method: 'delete' %> + <%= button_to t('notifications.clean_all'), notifications.clean_notifications_path, class: 'btn btn-sm btn-secondary', method: 'delete' %>