lib/solidus_admin/configuration.rb in solidus_admin-0.3.1 vs lib/solidus_admin/configuration.rb in solidus_admin-0.3.2
- old
+ new
@@ -167,13 +167,13 @@
end
{
position: index,
key: item.label,
- icon: icon,
- route: route,
+ icon:,
+ route:,
children: item.children.map.with_index(&menu_item_to_hash),
- match_path: match_path,
+ match_path:,
}
end
@menu_items = Spree::Backend::Config.menu_items.map.with_index(&menu_item_to_hash)
end