Commit d855c2e9 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Merge branch '4637-move-ee-specific-tasks-to-ee-lib-tasks-directory' into 'master'

Resolve "Move EE-specific tasks to `ee/lib/tasks` directory"

Closes #4637

See merge request gitlab-org/gitlab-ee!4141
parents 2dd9dffd b84da20a
...@@ -43,13 +43,9 @@ module Gitlab ...@@ -43,13 +43,9 @@ module Gitlab
end end
config.eager_load_paths.concat(ee_paths) config.eager_load_paths.concat(ee_paths)
config.paths['app/views'].concat(%W[ config.paths['lib/tasks'] << "#{config.root}/ee/lib/tasks"
#{config.root}/ee/app/views config.paths['app/views'] << "#{config.root}/ee/app/views"
]) config.helpers_paths << "#{config.root}/ee/app/helpers"
config.helpers_paths.push(*%W[
#{config.root}/ee/app/helpers
])
# Rake tasks ignore the eager loading settings, so we need to set the # Rake tasks ignore the eager loading settings, so we need to set the
# autoload paths explicitly # autoload paths explicitly
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment