mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-03 20:48:07 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			223 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			223 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
class ApiController < ApplicationController
 | 
						|
  skip_before_action :set_current_user, only: [:index]
 | 
						|
 | 
						|
  def index
 | 
						|
    render json: { version: Chatwoot.config[:version], timestamp: Time.now.utc.to_formatted_s(:db) }
 | 
						|
  end
 | 
						|
end
 |