[#835] Remove redundant values from autoload_paths

(Level 1 subdirectories of app are already globbed by default rails config)
This commit is contained in:
Frederic Merizen 2018-10-31 18:51:09 +01:00
parent 9833564863
commit 02fa30c83b

View file

@ -24,7 +24,7 @@ module TPS
config.i18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}')]
config.i18n.available_locales = [:fr]
config.autoload_paths += ["#{config.root}/lib", "#{config.root}/app/validators", "#{config.root}/app/facades"]
config.autoload_paths += ["#{config.root}/lib"]
config.assets.paths << Rails.root.join('app', 'assets', 'javascript')
config.assets.paths << Rails.root.join('app', 'assets', 'fonts')
config.assets.precompile += ['.woff']