1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-09 15:42:09 +00:00

Fixed cache names so multiple tournaments cache at once

This commit is contained in:
2017-01-31 14:01:09 +00:00
parent b5d07e103e
commit 86bb0b6f3c
5 changed files with 5 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
<% if can? :manage, @school %>
| <%= link_to "Edit #{@wrestler.name}", edit_wrestler_path(@wrestler), :class=>"btn btn-primary" %>
<% end %>
<% cache ["wrestlers", @wrestler] do %>
<% cache ["#{@wrestler.id}", @wrestler] do %>
<br>
<br>
<p>