diff --git a/app/views/tournament_backups/index.html.erb b/app/views/tournament_backups/index.html.erb
index 7fcd9dd..dedf592 100644
--- a/app/views/tournament_backups/index.html.erb
+++ b/app/views/tournament_backups/index.html.erb
@@ -8,7 +8,7 @@ and will also delete all of your current data. It's best to use the create backu
| Backup Created At |
Backup Reason |
- <%= link_to ' Create New Backup', tournament_tournament_backups_path(@tournament), turbo_method: :post, class: 'fas fa-plus'%> |
+ <%= link_to ' Create New Backup', tournament_tournament_backups_path(@tournament), data: { turbo_method: :post }, class: 'fas fa-plus'%> |
diff --git a/app/views/tournaments/show.html.erb b/app/views/tournaments/show.html.erb
index 7b5cc0a..bd3cf83 100644
--- a/app/views/tournaments/show.html.erb
+++ b/app/views/tournaments/show.html.erb
@@ -131,7 +131,7 @@
<% if can? :manage, @tournament %>
<%= link_to '', mat, data: { turbo_method: :delete, turbo_confirm: "Are you sure you want to delete Mat #{mat.name}?" }, :class=>"fas fa-trash-alt" %>
- <%= link_to '', "/mats/#{mat.id}/assign_next_match", method: :post, :class=>"fas fa-solid fa-arrow-right" %>
+ <%= link_to '', "/mats/#{mat.id}/assign_next_match", data: { turbo_method: :post }, :class=>"fas fa-solid fa-arrow-right" %>
|
<% end %>