budget/app/helpers/incomes_helper.rb

7 lines
125 B
Ruby

module IncomesHelper
def members
Member
.all
.map { |member, value| [ member.name, member.id ] }
end
end