app/controllers/phcmemberspro/members/mains_controller.rb in phcmemberspro-4.11.2 vs app/controllers/phcmemberspro/members/mains_controller.rb in phcmemberspro-5.0.0
- old
+ new
@@ -58,10 +58,10 @@
@members_main = Members::Main.find(params[:id])
end
# White List
def members_main_params
- params.require(:members_main).permit(:mfirstname, :mlastname, :mtitle, :memail, :mphone, :mnotes, :account_id)
+ params.require(:members_main).permit(:mfirstname, :mlastname, :mtitle, :memail, :mphone, :mnotes, :smfacebook, :smtwitter, :smlinkedin, :account_id)
end
end
end