mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +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>
|
||||
<strong>Name:</strong>
|
||||
<%= @school.name %>
|
||||
@@ -60,7 +61,7 @@
|
||||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<% end %>
|
||||
<% if can? :manage, @school %>
|
||||
<%= render 'baums_roster_import' %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user