adds heading filter to index

This commit is contained in:
Juanjo Bazán
2016-09-06 17:03:35 +02:00
parent b0358e4867
commit 31ef3f4c98
7 changed files with 69 additions and 53 deletions

View File

@@ -0,0 +1,7 @@
module BudgetHeadingsHelper
def budget_heading_select_options(budget)
budget.headings.map {|heading| [heading.name, heading.id]}
end
end