From 7d783c2b9ff39a22e60a8ad055f17df54f64b239 Mon Sep 17 00:00:00 2001 From: Ben Halpern Date: Tue, 16 Oct 2018 17:02:02 -0400 Subject: [PATCH] Change default in notifymailer mentor emails (#940) * Change default in notifymailer mentor emails * Change to dev.to for consistency + spec --- app/mailers/notify_mailer.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/mailers/notify_mailer.rb b/app/mailers/notify_mailer.rb index c76954877..039c58f9d 100644 --- a/app/mailers/notify_mailer.rb +++ b/app/mailers/notify_mailer.rb @@ -85,13 +85,13 @@ class NotifyMailer < ApplicationMailer @mentee = mentee @mentor = mentor subject = "You have been matched with a DEV mentor!" - mail(to: @mentee.email, subject: subject) + mail(to: @mentee.email, subject: subject, from: "Liana (from dev.to) ") end def mentor_email(mentor, mentee) @mentor = mentor @mentee = mentee subject = "You have been matched with a new DEV mentee!" - mail(to: @mentor.email, subject: subject) + mail(to: @mentor.email, subject: subject, from: "Liana (from dev.to) ") end end