1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-14 08:58:29 +00:00

Fixed create new backup link syntax for turbo_method and made the assign_next_match button a turbo_method

This commit is contained in:
2026-01-08 23:59:33 -05:00
parent 608999cb51
commit cfd3e7aecd
2 changed files with 2 additions and 2 deletions

View File

@@ -131,7 +131,7 @@
<% if can? :manage, @tournament %>
<td>
<%= 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" %>
</td>
<% end %>
</tr>