1
0
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:
2022-02-23 21:25:01 +00:00
parent a3391afe02
commit 6e712cd199

View File

@@ -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 %>