Merge branch 'fix/gb/remove-ci-models-from-eager-load-paths' into 'master'

Remove CI/CD models directory from `eager_load_paths`

Closes #31841

See merge request !11129
This commit is contained in:
Rémy Coutable 2017-05-09 15:41:15 +00:00
commit 388641ae84

View file

@ -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