From 113d195051b40b5b843f592d3d57fb038b19c5d4 Mon Sep 17 00:00:00 2001 From: Molly Struve Date: Sun, 31 Jan 2021 13:31:44 -0600 Subject: [PATCH] Bug Fix:Bust Bottom Shell Content on Admin Config Update (#12497) --- app/views/shell/_bottom.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/shell/_bottom.html.erb b/app/views/shell/_bottom.html.erb index 8013b6824..922fafdae 100644 --- a/app/views/shell/_bottom.html.erb +++ b/app/views/shell/_bottom.html.erb @@ -1,6 +1,6 @@ <% 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 %>