app/views/spree/admin/shared/_tabs.html.erb in spree_backend-2.2.0 vs app/views/spree/admin/shared/_tabs.html.erb in spree_backend-2.2.1
- old
+ new
@@ -9,5 +9,8 @@
<% end %>
<%= tab :configurations, :general_settings, :mail_methods, :tax_categories, :tax_rates, :tax_settings, :zones, :countries, :states, :payment_methods, :shipping_methods, :shipping_categories, :stock_transfers, :stock_locations, :trackers, :label => 'configuration', :icon => 'icon-wrench', :url => spree.edit_admin_general_settings_path %>
<% if can? :admin, Spree::Promotion %>
<%= tab(:promotions, :url => spree.admin_promotions_path, :icon => 'icon-bullhorn') %>
<% end %>
+<% if Spree.user_class && can?(:admin, Spree.user_class) %>
+ <%= tab(:users, :url => spree.admin_users_path, :icon => 'icon-user') %>
+<% end %>