about summary refs log tree commit diff
path: root/app/mailers
diff options
context:
space:
mode:
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