Browse Source

Fix error in AdminMailer#new_pending_account (#10264)

pull/4/head
Eugen Rochko 5 years ago
committed by GitHub
parent
commit
874bd3ac0c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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