about summary refs log tree commit diff
path: root/app/mailers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-03-14 14:20:22 +0100
committerGitHub <noreply@github.com>2019-03-14 14:20:22 +0100
commit874bd3ac0c56e2d2901785e170b27f5cde32b33b (patch)
treef285727568dfc760e47fb85f802ad1314f88bf9d /app/mailers
parent6841d8fc7407ea0a665138b19c36eaacedda3630 (diff)
Fix error in AdminMailer#new_pending_account (#10264)
Diffstat (limited to 'app/mailers')
-rw-r--r--app/mailers/admin_mailer.rb4
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