mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-03 20:48:07 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			370 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			370 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
class DashboardController < ActionController::Base
 | 
						|
  before_action :set_global_config
 | 
						|
 | 
						|
  layout 'vueapp'
 | 
						|
 | 
						|
  def index; end
 | 
						|
 | 
						|
  private
 | 
						|
 | 
						|
  def set_global_config
 | 
						|
    @global_config = GlobalConfig.get(
 | 
						|
      'LOGO',
 | 
						|
      'LOGO_THUMBNAIL',
 | 
						|
      'INSTALLATION_NAME',
 | 
						|
      'WIDGET_BRAND_URL',
 | 
						|
      'TERMS_URL',
 | 
						|
      'PRIVACY_URL',
 | 
						|
      'DISPLAY_MANIFEST'
 | 
						|
    )
 | 
						|
  end
 | 
						|
end
 |