Fix error in AdminMailer#new_pending_account (#10264)
This commit is contained in:
		
							parent
							
								
									bd094f1c78
								
							
						
					
					
						commit
						457cfafad4
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
		Reference in a new issue