Registrar refactor

This commit is contained in:
Priit Tark 2015-04-09 17:09:18 +03:00
parent 6573d81b94
commit ec4c06bb06
95 changed files with 564 additions and 539 deletions

View file

@ -32,9 +32,7 @@ module Registry
# 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)
config.autoload_paths << Rails.root.join('lib')
# Add the fonts path
config.assets.paths << Rails.root.join('vendor', 'assets', 'fonts')