From 608999cb51be4cef9e8f846f9f4ef2063f52082f Mon Sep 17 00:00:00 2001 From: Jacob Cody Wimer Date: Thu, 8 Jan 2026 23:51:16 -0500 Subject: [PATCH] Fixed create new backup link as a turbo_method and hid the baumspage importer --- app/views/schools/show.html.erb | 6 +++--- app/views/tournament_backups/index.html.erb | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/schools/show.html.erb b/app/views/schools/show.html.erb index bba365f..9ba8956 100644 --- a/app/views/schools/show.html.erb +++ b/app/views/schools/show.html.erb @@ -111,6 +111,6 @@ -<% if can? :manage, @school %> - <%= render 'baums_roster_import' %> -<% end %> +<%# if can? :manage, @school %> + <%#= render 'baums_roster_import' %> +<%# end %> diff --git a/app/views/tournament_backups/index.html.erb b/app/views/tournament_backups/index.html.erb index ca28643..7fcd9dd 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), method: :post, class: 'fas fa-plus'%> + <%= link_to ' Create New Backup', tournament_tournament_backups_path(@tournament), turbo_method: :post, class: 'fas fa-plus'%>