Fix bug where email wasn't getting saved in supporter_controller

This commit is contained in:
Eric 2020-06-18 17:33:58 -05:00 committed by Eric Schultz
parent 858860f274
commit 0eaede39d0

View file

@ -111,7 +111,7 @@ module Nonprofits
private
def create_supporter_params
params.require(:supporter).permit(:name, :address, :city, :state_code, :country, :address_line2, :first_name, :last_name, :customFields)
params.require(:supporter).permit(:name, :address, :city, :state_code, :country, :address_line2, :first_name, :last_name, :customFields, :email)
end
def update_supporter_params