Browse Source

Fix error in AdminMailer#new_pending_account (#10264)

tags/v2.8.0rc1
Eugen Rochko 6 months ago
parent
commit
874bd3ac0c
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      app/mailers/admin_mailer.rb

+ 2
- 2
app/mailers/admin_mailer.rb View File

@@ -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


Loading…
Cancel
Save