diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-03-14 14:20:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-14 14:20:22 +0100 |
commit | 874bd3ac0c56e2d2901785e170b27f5cde32b33b (patch) | |
tree | f285727568dfc760e47fb85f802ad1314f88bf9d /app | |
parent | 6841d8fc7407ea0a665138b19c36eaacedda3630 (diff) |
Fix error in AdminMailer#new_pending_account (#10264)
Diffstat (limited to 'app')
-rw-r--r-- | app/mailers/admin_mailer.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/mailers/admin_mailer.rb b/app/mailers/admin_mailer.rb index ecbbe745b..db154cad5 100644 --- a/app/mailers/admin_mailer.rb +++ b/app/mailers/admin_mailer.rb @@ -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 |