mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-03 20:48:07 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			224 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			224 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
module Current
 | 
						|
  thread_mattr_accessor :user
 | 
						|
  thread_mattr_accessor :account
 | 
						|
  thread_mattr_accessor :account_user
 | 
						|
 | 
						|
  def self.reset
 | 
						|
    Current.user = nil
 | 
						|
    Current.account = nil
 | 
						|
    Current.account_user = nil
 | 
						|
  end
 | 
						|
end
 |