Skip to content

Commit 2a480e6

Browse files
committed
Change email branding
1 parent fc25ef0 commit 2a480e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/mailers/user_mailer.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ def email_confirmation(user)
33
@user = user
44
token = user.verification_tokens.email.create!
55
@url = base_url + confirm_email_path(@user.id, token.token)
6-
mail(from: SiteSetting.value('emails')['from'], to: user.email, subject: "Confirm your TestMyCode Account email address")
6+
mail(from: SiteSetting.value('emails')['from'], to: user.email, subject: "Confirm your mooc.fi account email address")
77
end
88

99
def destroy_confirmation(user)
1010
@user = user
1111
token = user.verification_tokens.delete_user.create!
1212
@url = base_url + verify_destroying_user_path(@user.id, token.token)
13-
mail(from: SiteSetting.value('emails')['from'], to: user.email, subject: "Confirm deleting your TestMyCode account")
13+
mail(from: SiteSetting.value('emails')['from'], to: user.email, subject: "Confirm deleting your mooc.fi account")
1414
end
1515

1616

0 commit comments

Comments
 (0)