Add max votable headings to groups

This commit is contained in:
rgarcia
2018-03-21 16:44:26 +01:00
parent c1d7378c92
commit 730072e91e
5 changed files with 67 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ class Admin::BudgetGroupsController < Admin::BaseController
private
def budget_group_params
params.require(:budget_group).permit(:name)
params.require(:budget_group).permit(:name, :max_votable_headings)
end
end