Skip to content

Commit

Permalink
Hopefully fix caching issue seen in production
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Feb 12, 2024
1 parent bc69780 commit e42c922
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/_tailwind/authorities/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@
</tr>
</thead>
<tbody class="align-top">
<%= render partial: "authority", collection: @authorities, cached: true %>
<%# Using a stupid name for the partial so that it doesn't conflict with the non-tailwind partial for the caching %>
<%# TODO: Rename partial once we've removed the non-tailwind theme %>
<%= render partial: "tailwind_authority", collection: @authorities, as: :authority, cached: true %>
</tbody>
</table>
</section>
Expand Down

0 comments on commit e42c922

Please sign in to comment.