diff --git a/app/views/spree/admin/shared/_main_menu.html.erb b/app/views/spree/admin/shared/_main_menu.html.erb index 12b15bfa8d..6f46a4b398 100644 --- a/app/views/spree/admin/shared/_main_menu.html.erb +++ b/app/views/spree/admin/shared/_main_menu.html.erb @@ -11,24 +11,24 @@ - <% main_menu.items.each do |item| %> - <% next unless item.available?(current_ability, current_store) %> + <% main_menu.items.each do |section_item| %> + <% next unless section_item.available?(current_ability, current_store) %> -