From 8cd7c685dc17f41585ae308a2440717e5bfd88ba Mon Sep 17 00:00:00 2001 From: Bertocq Date: Wed, 21 Jun 2017 20:22:37 +0200 Subject: [PATCH] Add population to allowed params on admin budget heading controller --- app/controllers/admin/budget_headings_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/admin/budget_headings_controller.rb b/app/controllers/admin/budget_headings_controller.rb index 56903b744..eea93716f 100644 --- a/app/controllers/admin/budget_headings_controller.rb +++ b/app/controllers/admin/budget_headings_controller.rb @@ -12,7 +12,7 @@ class Admin::BudgetHeadingsController < Admin::BaseController private def budget_heading_params - params.require(:budget_heading).permit(:name, :price, :geozone_id) + params.require(:budget_heading).permit(:name, :price, :population) end -end \ No newline at end of file +end