diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-08-04 21:45:14 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-08-04 21:45:14 +0800 |
commit | b7547ade672fdcb9315ae9821c1eca195d87022a (patch) | |
tree | bfe23e7abaddefd2fc8e9bbd062c0564344a0c06 /config/application.rb | |
parent | 8fff6a3422e07ad45c1e8875476427eb81bb0e2e (diff) | |
download | gitlab-ce-b7547ade672fdcb9315ae9821c1eca195d87022a.tar.gz |
Backport to CE for:2902-standalone-ee-dir-ce
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/2483
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/application.rb b/config/application.rb index 1c13cc81270..f7145566262 100644 --- a/config/application.rb +++ b/config/application.rb @@ -23,13 +23,13 @@ module Gitlab # https://github.com/rails/rails/blob/v4.2.6/railties/lib/rails/engine.rb#L687 # 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.eager_load_paths.push(*%W[#{config.root}/lib #{config.root}/app/models/hooks #{config.root}/app/models/members #{config.root}/app/models/project_services #{config.root}/app/workers/concerns #{config.root}/app/services/concerns - #{config.root}/app/finders/concerns)) + #{config.root}/app/finders/concerns]) config.generators.templates.push("#{config.root}/generator_templates") |