Merge pull request #5451 from betagouv/cleanup-load-paths
Rails : mise à jour des chemins de chargement par défaut
This commit is contained in:
commit
889bd31de0
1 changed files with 0 additions and 3 deletions
|
@ -31,9 +31,6 @@ module TPS
|
|||
config.i18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}')]
|
||||
config.i18n.available_locales = [:fr]
|
||||
|
||||
config.paths.add "#{config.root}/lib", eager_load: true
|
||||
config.paths.add "#{config.root}/app/controllers/concerns", eager_load: true
|
||||
|
||||
config.assets.paths << Rails.root.join('app', 'assets', 'javascript')
|
||||
config.assets.paths << Rails.root.join('app', 'assets', 'fonts')
|
||||
config.assets.precompile += ['.woff']
|
||||
|
|
Loading…
Reference in a new issue