Fix error in AdminMailer#new_pending_account (#10264)

这个提交包含在:
Eugen Rochko 2019-03-14 14:20:22 +01:00 提交者 GitHub
父节点 6841d8fc74
当前提交 874bd3ac0c
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 2 次插入2 次删除

查看文件

@ -15,8 +15,8 @@ class AdminMailer < ApplicationMailer
end
end
def new_pending_account(recipient, account)
@account = account
def new_pending_account(recipient, user)
@account = user.account
@me = recipient
@instance = Rails.configuration.x.local_domain