mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
Autoload depp gem
This commit is contained in:
parent
a89b2643cf
commit
aad7cbef39
1 changed files with 4 additions and 1 deletions
|
@ -30,9 +30,12 @@ module Registry
|
|||
config.paths.add File.join('app', 'api'), glob: File.join('**', '*.rb')
|
||||
config.autoload_paths += Dir[Rails.root.join('app', 'api', '*')]
|
||||
|
||||
# Load all model subdirs
|
||||
# Autoload all model subdirs
|
||||
config.autoload_paths += Dir[Rails.root.join('app', 'models', '**/')]
|
||||
|
||||
# Autoload depp gem
|
||||
config.autoload_paths += %W(#{config.root}/vendor/gems/depp/lib)
|
||||
|
||||
# Add the fonts path
|
||||
config.assets.paths << Rails.root.join('vendor', 'assets', 'fonts')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue