mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-06 22:44:14 +00:00
Do not cache edit button on school and wrestler show pages
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
<% cache ["schools", @school] do %>
|
||||
|
||||
<p id="notice"><%= notice %></p>
|
||||
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}",:class=>"btn btn-default" %>
|
||||
<% if tournament_permissions(@school.tournament) %>
|
||||
| <%= link_to "Edit #{@school.name}", edit_school_path(@school),:class=>"btn btn-primary" %>
|
||||
<% end %>
|
||||
<% cache ["schools", @school] do %>
|
||||
<br>
|
||||
<br>
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user