1
0
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:
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> <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 %>