修改已注册用户邮件邀请异常
This commit is contained in:
parent
d9ae9c8061
commit
ee7c1eff32
|
@ -73,7 +73,7 @@ class Mailer < ActionMailer::Base
|
||||||
@project_name = "#{project.name}"
|
@project_name = "#{project.name}"
|
||||||
@user = user
|
@user = user
|
||||||
@token = Token.get_token_from_user(user, 'autologin')
|
@token = Token.get_token_from_user(user, 'autologin')
|
||||||
@project_url = url_for(:controller => 'projects', :action => 'show', :id => project.id, :user => user.id, :mail => true, :token => @token.value)
|
@project_url = url_for(:controller => 'projects', :action => 'show', :id => project.id, :user_id => user.id, :mail => true, :token => @token.value)
|
||||||
mail :to => email, :subject => @subject
|
mail :to => email, :subject => @subject
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue