Bug Fix:Bust Bottom Shell Content on Admin Config Update (#12497)

This commit is contained in:
Molly Struve 2021-01-31 13:31:44 -06:00 committed by GitHub
parent 0c0e28dd35
commit 113d195051
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
<!-- Start Bottom Shell -->
<% unless internal_navigation? %>
<% cache("footer-and-signup-modal--#{user_signed_in?}--#{ForemInstance.deployed_at}", expires_in: 24.hours) do %>
<% cache("footer-and-signup-modal-#{user_signed_in?}-#{ForemInstance.deployed_at&.rfc3339}-#{SiteConfig.admin_action_taken_at&.rfc3339}", expires_in: 24.hours) do %>
<%= render "layouts/footer" %>
<%= render "layouts/signup_modal" unless user_signed_in? %>
<% end %>