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' %>