permits fields in management investment creation

This commit is contained in:
Juanjo Bazán
2017-05-19 11:32:14 +02:00
parent f0d7acd087
commit e922a11aa3
3 changed files with 12 additions and 7 deletions

View File

@@ -52,7 +52,7 @@ class Management::Budgets::InvestmentsController < Management::BaseController
end
def investment_params
params.require(:budget_investment).permit(:title, :description, :external_url, :heading_id)
params.require(:budget_investment).permit(:title, :description, :external_url, :heading_id, :tag_list, :organization_name, :location)
end
def only_verified_users