From 5bab67999e6812f5bde93c26f792bda6cc2c8022 Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Wed, 19 Nov 2025 15:44:57 -0600 Subject: [PATCH] Add `Current.account` to cache key --- app/views/my/menus/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/my/menus/show.html.erb b/app/views/my/menus/show.html.erb index ee0f0287b..8a67e1484 100644 --- a/app/views/my/menus/show.html.erb +++ b/app/views/my/menus/show.html.erb @@ -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 %>