config: don't explicitely eager-load controllers/concerns
Per the documentation, Rails automatically loads `**/concerns` paths. See https://guides.rubyonrails.org/autoloading_and_reloading_constants_classic_mode.html#autoload-paths-and-eager-load-paths
This commit is contained in:
parent
4f0d9afbd6
commit
c514898b84
1 changed files with 0 additions and 1 deletions
|
@ -32,7 +32,6 @@ module TPS
|
||||||
config.i18n.available_locales = [:fr]
|
config.i18n.available_locales = [:fr]
|
||||||
|
|
||||||
config.paths.add "#{config.root}/lib", eager_load: true
|
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', 'javascript')
|
||||||
config.assets.paths << Rails.root.join('app', 'assets', 'fonts')
|
config.assets.paths << Rails.root.join('app', 'assets', 'fonts')
|
||||||
|
|
Loading…
Reference in a new issue