Module: Spree::Admin::StockLocationsHelper

Defined in:
app/helpers/spree/admin/stock_locations_helper.rb

Instance Method Summary collapse

Instance Method Details

#admin_stock_location_display_name(stock_location) ⇒ Object



6
7
8
# File 'app/helpers/spree/admin/stock_locations_helper.rb', line 6

def admin_stock_location_display_name(stock_location)
  [stock_location.admin_name, stock_location.name].reject(&:blank?).join(' / ')
end