mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-06 22:44:14 +00:00
Added caching to the school#show page
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
<% cache ["#{@school.id}_school_show", @school] do %>
|
||||||
<p>
|
<p>
|
||||||
<strong>Name:</strong>
|
<strong>Name:</strong>
|
||||||
<%= @school.name %>
|
<%= @school.name %>
|
||||||
@@ -60,7 +61,7 @@
|
|||||||
<% end %>
|
<% end %>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
<% end %>
|
||||||
<% if can? :manage, @school %>
|
<% if can? :manage, @school %>
|
||||||
<%= render 'baums_roster_import' %>
|
<%= render 'baums_roster_import' %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
Reference in New Issue
Block a user