From d179ffd9b6377923023d882685d88787642978c6 Mon Sep 17 00:00:00 2001 From: Matchu Date: Fri, 12 Sep 2014 14:29:20 -0500 Subject: [PATCH] whoops; get the To address right for donation notifications --- app/models/donation.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/donation.rb b/app/models/donation.rb index 0a152394..383229ae 100644 --- a/app/models/donation.rb +++ b/app/models/donation.rb @@ -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