app/controllers/phcmemberspro/members/contacts_controller.rb in phcmemberspro-3.2.0 vs app/controllers/phcmemberspro/members/contacts_controller.rb in phcmemberspro-3.3.0
- old
+ new
@@ -78,10 +78,10 @@
@members_contact = Members::Contact.find(params[:id])
end
# White List
def members_contact_params
- params.require(:members_contact).permit(:mccontactname, :mccompanyname, :mcaddressl1, :mcaddressl2, :mccity, :mcprovince, :mccountry, :mcpostalcode, :mcphone, :mcwebsite, :mcemail, :main_id, :account_id)
+ params.require(:members_contact).permit(:mccontactname, :mccompanyname, :mcaddressl1, :mcaddressl2, :mccity, :mcprovince, :mccountry, :mcpostalcode, :mcphone, :mcwebsite, :mcemail, :mctype, :main_id, :account_id)
end
end
end