FIX: notify_old_email template did not had new_email

This commit is contained in:
Arpit Jalan 2016-10-25 23:50:16 +05:30
parent 622dc82481
commit 478418e780

@ -127,7 +127,7 @@ module Jobs
email_args[:email_token] = email_token
end
if type == :notify_old_email
if type.to_s == "notify_old_email"
email_args[:new_email] = user.email
end