diff --git a/lib/solidus_stock_transfers/engine.rb b/lib/solidus_stock_transfers/engine.rb index 9e1a52a..3c52fab 100644 --- a/lib/solidus_stock_transfers/engine.rb +++ b/lib/solidus_stock_transfers/engine.rb @@ -17,6 +17,7 @@ class Engine < Rails::Engine config.menu_items.insert idx, config.class::MenuItem.new( [:stock_transfers], 'exchange', + condition: -> { can?(:admin, Spree::StockTransfer) }, url: :admin_stock_transfers_path ) end