mirror of https://github.com/docusealco/docuseal
				
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							31 lines
						
					
					
						
							766 B
						
					
					
				
			
		
		
	
	
							31 lines
						
					
					
						
							766 B
						
					
					
				| # frozen_string_literal: true
 | |
| 
 | |
| require_relative 'boot'
 | |
| 
 | |
| require 'active_record/railtie'
 | |
| require 'active_storage/engine'
 | |
| require 'action_controller/railtie'
 | |
| require 'action_view/railtie'
 | |
| require 'action_mailer/railtie'
 | |
| require 'active_job/railtie'
 | |
| 
 | |
| Bundler.require(*Rails.groups)
 | |
| 
 | |
| module DocuSeal
 | |
|   class Application < Rails::Application
 | |
|     config.load_defaults 7.0
 | |
| 
 | |
|     config.autoload_paths << Rails.root.join('lib')
 | |
|     config.eager_load_paths << Rails.root.join('lib')
 | |
| 
 | |
|     config.active_storage.routes_prefix = ''
 | |
| 
 | |
|     config.i18n.available_locales = %i[en en-US en-GB es-ES pt-PT de-DE]
 | |
|     config.i18n.fallbacks = [:en]
 | |
| 
 | |
|     config.action_view.frozen_string_literal = true
 | |
| 
 | |
|     config.middleware.insert_before ActionDispatch::Static, Rack::Deflater
 | |
|   end
 | |
| end
 |