diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-05-05 19:38:40 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-05-09 14:11:49 +0200 |
commit | e66558839f95d72639702920a9126539f1619a6e (patch) | |
tree | 8947991e335e647c1401f9a4485058faeb735db9 /config/application.rb | |
parent | 09e2c1afb1782512de4bf4a5e90275300a3bf08d (diff) | |
download | gitlab-ce-e66558839f95d72639702920a9126539f1619a6e.tar.gz |
Remove CI/CD models directory from `eager_load_paths`
CI/CD models are already located inside `CI` module, thus usual Rails
autoloading principles apply.
See https://github.com/rails/rails/issues/28854 for more details.
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/config/application.rb b/config/application.rb index 32ad2393648..bf3fb7a18c1 100644 --- a/config/application.rb +++ b/config/application.rb @@ -22,7 +22,6 @@ module Gitlab # This is a nice reference article on autoloading/eager loading: # http://blog.arkency.com/2014/11/dont-forget-about-eager-load-when-extending-autoload config.eager_load_paths.push(*%W(#{config.root}/lib - #{config.root}/app/models/ci #{config.root}/app/models/hooks #{config.root}/app/models/members #{config.root}/app/models/project_services |