邮件国际化丢失等问题

This commit is contained in:
huang 2016-12-27 13:02:22 +08:00
parent e614a2d111
commit a354699b42
1 changed files with 1 additions and 1 deletions

View File

@ -850,7 +850,7 @@ class Mailer < ActionMailer::Base
@token = token
@url = url_for(:controller => 'account', :action => 'activate', :token => token.value)
mail :to => token.user.mail,
:subject => l(:mail_subject)
:subject => "#{Setting.mail_subject}"
end
def test_email(user)