7 lines
152 B
Ruby
7 lines
152 B
Ruby
module ExpensesHelper
|
|
def expense_periods
|
|
Expense
|
|
.periods
|
|
.map { |key, value| [key.titleize, Expense.periods.key(value)] }
|
|
end
|
|
end
|