make parameter 'skip_map' accessible on creating an investment
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user