foodsoft/app/helpers/suppliers_helper.rb

6 lines
142 B
Ruby
Raw Normal View History

module SuppliersHelper
def associated_supplier_names(shared_supplier)
"(#{shared_supplier.suppliers.map(&:name).join(', ')})"
end
end