foodsoft/app/helpers/suppliers_helper.rb
2013-06-12 10:47:54 +02:00

6 lines
No EOL
142 B
Ruby

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