From 548d60893858261eb236b4a28d01ce8286261e6e Mon Sep 17 00:00:00 2001 From: Tomasz Donarski Date: Thu, 14 Sep 2023 10:41:15 +0200 Subject: [PATCH] Fix naming of block arguments, so that they hint right on their contents --- .../spree/admin/shared/_main_menu.html.erb | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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) %> -