邮件国际化丢失等问题
This commit is contained in:
parent
e614a2d111
commit
a354699b42
|
@ -850,7 +850,7 @@ class Mailer < ActionMailer::Base
|
||||||
@token = token
|
@token = token
|
||||||
@url = url_for(:controller => 'account', :action => 'activate', :token => token.value)
|
@url = url_for(:controller => 'account', :action => 'activate', :token => token.value)
|
||||||
mail :to => token.user.mail,
|
mail :to => token.user.mail,
|
||||||
:subject => l(:mail_subject)
|
:subject => "#{Setting.mail_subject}"
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_email(user)
|
def test_email(user)
|
||||||
|
|
Loading…
Reference in New Issue