fixes #3706
This commit is contained in:
@@ -91,6 +91,6 @@ class PoolsController < ApplicationController
|
||||
|
||||
def pool_params
|
||||
permitted_params = %i[name description category is_active post_ids]
|
||||
params.require(:pool).permit(permitted_params)
|
||||
params.require(:pool).permit(*permitted_params, post_id_array: [])
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user