1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-05-13 17:18:58 +00:00

Removed cache for wrestlers show because it will never update. Removed cache for school show because buttons requiring permissions were showing

This commit is contained in:
2016-01-13 15:33:34 +00:00
parent 35e1a41220
commit f2e28505a6
2 changed files with 0 additions and 4 deletions

View File

@@ -5,7 +5,6 @@
<% if can? :manage, @school %>
| <%= link_to "Edit #{@wrestler.name}", edit_wrestler_path(@wrestler), :class=>"btn btn-primary" %>
<% end %>
<% cache ["wrestlers", @wrestler] do %>
<br>
<br>
<p>
@@ -45,4 +44,3 @@
<% @wrestler.deductedPoints.each do |w| %>
<div> Deducted points: <%= w.points %></div>
<% end %>
<% end %>