Move Conference contact details to Contact

This commit is contained in:
Henne Vogelsang 2014-07-31 20:09:38 +02:00
parent eb3e6898d2
commit 5aa0d58c57
18 changed files with 67 additions and 58 deletions

View file

@ -83,8 +83,8 @@ class Mailbot < ActionMailer::Base
def build_email(conference, to, subject, body)
mail(to: to,
from: conference.contact_email,
reply_to: conference.contact_email,
from: conference.contact.email,
reply_to: conference.contact.email,
subject: subject,
body: body)
end