app/controllers/phcmemberspro/member/addresses_controller.rb in phcmemberspro-9.5.7 vs app/controllers/phcmemberspro/member/addresses_controller.rb in phcmemberspro-9.6.0
- old
+ new
@@ -74,10 +74,10 @@
@member_address = Member::Address.find(params[:id])
end
# Whitelist
def member_address_params
- params.require(:member_address).permit(:mcaddressl1, :mcaddressl2, :mccity, :mcprovince, :mccountry, :mcpostalcode, :mctype, :profile_id)
+ params.require(:member_address).permit(:mcaddressl1, :mcaddressl2, :mccity, :mcprovince, :mccountry, :mcpostalcode, :mctype, :profile_id, :user_id, :membership_id, :oganization_id)
end
end
end