Fix bug where email wasn't getting saved in supporter_controller
This commit is contained in:
parent
858860f274
commit
0eaede39d0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue