修改已注册用户邮件邀请异常

This commit is contained in:
huang 2015-05-29 14:50:27 +08:00
parent d9ae9c8061
commit ee7c1eff32
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ class Mailer < ActionMailer::Base
@project_name = "#{project.name}"
@user = user
@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
end