make parameter 'skip_map' accessible on creating an investment

This commit is contained in:
Julian Herrero
2018-12-26 12:58:43 +01:00
parent f7022b36b4
commit bf7112f090
3 changed files with 47 additions and 18 deletions

View File

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