diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-03 09:12:24 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-03 09:12:24 +0200 |
commit | e65731bb7ebf58366c185a10e50ec1db6eb495c4 (patch) | |
tree | 15c5dd5071ec0a811a11fe07cd8c7c2ddd56b43b /config | |
parent | a1999955eb0b212c818a383bc54f8392194d0bc1 (diff) | |
download | gitlab-ce-e65731bb7ebf58366c185a10e50ec1db6eb495c4.tar.gz |
Add concerns to autoload
Diffstat (limited to 'config')
-rw-r--r-- | config/application.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/application.rb b/config/application.rb index d6bb90a3052..d71de88ebe3 100644 --- a/config/application.rb +++ b/config/application.rb @@ -16,7 +16,7 @@ module Gitlab # -- all .rb files in that directory are automatically loaded. # Custom directories with classes and modules you want to be autoloadable. - config.autoload_paths += %W(#{config.root}/lib) + config.autoload_paths += %W(#{config.root}/lib #{config.root}/app/models/concerns) # Only load the plugins named here, in the order given (default is alphabetical). # :all can be used as a placeholder for all plugins not explicitly named. |