Fix error in AdminMailer#new_pending_account (#10264)

このコミットが含まれているのは:
Eugen Rochko 2019-03-14 14:20:22 +01:00 committed by GitHub
コミット 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