config: don't explicitely eager-load lib/
Rationale: - `lib/` is supposed to contain code mostly independant from Rails; - By default, Rails doesn't eager-load `lib/` anymore (this used to be the case, but since a few releases). If this commits triggers some errors, then these errors should be fixed (rather that `lib/` being added again to the load path).
This commit is contained in:
parent
c514898b84
commit
ededf5c6c5
1 changed files with 0 additions and 2 deletions
|
@ -31,8 +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.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