mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 18:56:05 +02:00
Remove lib
folder from autoload path
- Load extensions explicitly
This commit is contained in:
parent
9ea5b54f5c
commit
30ac973f96
12 changed files with 25 additions and 25 deletions
|
@ -40,8 +40,8 @@ module DomainNameRegistry
|
|||
|
||||
# Autoload all model subdirs
|
||||
config.autoload_paths += Dir[Rails.root.join('app', 'models', '**/')]
|
||||
config.autoload_paths << Rails.root.join('lib')
|
||||
config.eager_load_paths << config.root.join('lib', 'validators')
|
||||
config.watchable_dirs['lib'] = %i[rb]
|
||||
|
||||
# Add the fonts path
|
||||
config.assets.paths << Rails.root.join('vendor', 'assets', 'fonts')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue