1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Fix all brackets view for Rails 6

This commit is contained in:
2021-02-17 03:39:08 +00:00
parent b2ba1901df
commit 987c89b7d5

View File

@@ -15,7 +15,7 @@
<% cache ["#{@tournament.id}_all_brackets", @tournament] do %> <% cache ["#{@tournament.id}_all_brackets", @tournament] do %>
<div id="exportable" > <div id="exportable" >
<%= render :file => 'tournaments/team_scores' %> <%= render file: Rails.root.join('app/views/tournaments/team_scores.html.erb') %>
<% @tournament.weights.sort_by{|w| w.max}.each do |weight| %> <% @tournament.weights.sort_by{|w| w.max}.each do |weight| %>
<table class='pagebreak'> <table class='pagebreak'>
<tr> <tr>