mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 18:56:05 +02:00
Move ToStdout to /app/lib folder and include it in app.rb
This commit is contained in:
parent
217f009fa3
commit
1d5c46e6a0
6 changed files with 13 additions and 16 deletions
|
@ -36,8 +36,10 @@ module DomainNameRegistry
|
|||
|
||||
# Autoload all model subdirs
|
||||
config.autoload_paths += Dir[Rails.root.join('app', 'models', '**/')]
|
||||
config.autoload_paths += Dir[Rails.root.join('app', 'lib', '**/')]
|
||||
config.autoload_paths += Dir[Rails.root.join('app', 'interactions', '**/')]
|
||||
config.eager_load_paths << config.root.join('lib', 'validators')
|
||||
config.eager_load_paths << config.root.join('app', 'lib')
|
||||
config.watchable_dirs['lib'] = %i[rb]
|
||||
|
||||
config.active_record.schema_format = :sql
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue