summaryrefslogtreecommitdiffstats
path: root/config/application.rb
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2021-11-17 20:55:08 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2021-11-17 20:55:08 +0000
commita914cf4c402b2597e0cc563bd84145ce9eda5a41 (patch)
treeedb14ba9ebce182cb4f7cac808bfb49c6c504a46 /config/application.rb
parente82b0a77e348419bb4c4ed736ac126e22358eac0 (diff)
downloadredmine-a914cf4c402b2597e0cc563bd84145ce9eda5a41.tar.gz
redmine-a914cf4c402b2597e0cc563bd84145ce9eda5a41.zip
Switch to zeitwerk autoloader (#29914, #32938).
Patch by Takashi Kato. git-svn-id: http://svn.redmine.org/redmine/trunk@21287 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/application.rb')
-rw-r--r--config/application.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/application.rb b/config/application.rb
index fc6e6a33f..e74fcbf67 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -24,7 +24,7 @@ module RedmineApp
# -- 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.autoloader = :zeitwerk
# 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.