1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-05-12 08:25:19 +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

@@ -1,7 +1,7 @@
<% if params[:print] == nil && Rails.env.production? %>
<script type='text/javascript' src='//eclkmpbn.com/adServe/banners?tid=85597_138467_5&type=shadowbox&size=800x440'></script>
<% end %>
<% cache ["up_matches", @tournament] do %>
<% cache ["#{@tournament.id}_up_matches", @tournament] do %>
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default"%>
<script>
// $(document).ready(function() {