Add Current.account to cache key

This commit is contained in:
Jason Zimdars
2025-11-19 15:44:57 -06:00
parent 6592a0e89a
commit 5bab67999e
+1 -1
View File
@@ -63,7 +63,7 @@
<% accounts = Current.identity.accounts %>
<% if accounts.many? %>
<% cache [ Current.identity, accounts ] do %>
<% cache [ Current.identity, accounts, Current.account ] do %>
<%= collapsible_nav_section "Accounts" do %>
<% accounts.each do |account| %>
<%= filter_place_menu_item landing_url(script_name: account.slug), account.name, "marker", new_window: true, current: account == Current.account %>