mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Fix a problem in the permit list to allow a list to be taken
This commit is contained in:
@@ -25,7 +25,7 @@ module Admin
|
||||
private
|
||||
|
||||
def enterprise_relationship_params
|
||||
params.require(:enterprise_relationship).permit(:parent_id, :child_id, :permissions_list)
|
||||
params.require(:enterprise_relationship).permit(:parent_id, :child_id, permissions_list: [])
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user