Add Current.account to cache key
This commit is contained in:
@@ -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 %>
|
||||
|
||||
Reference in New Issue
Block a user