whoops; get the To address right for donation notifications

This commit is contained in:
Emi Matchu 2014-09-12 14:29:20 -05:00
parent 71f1ee643f
commit d179ffd9b6

View file

@ -47,7 +47,7 @@ class Donation < ActiveRecord::Base
features.each(&:save!)
end
DonationMailer.thank_you_email(donation, customer.email).deliver
DonationMailer.thank_you_email(donation, donation.donor_email).deliver
donation
end