diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2021-11-17 20:55:08 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2021-11-17 20:55:08 +0000 |
commit | a914cf4c402b2597e0cc563bd84145ce9eda5a41 (patch) | |
tree | edb14ba9ebce182cb4f7cac808bfb49c6c504a46 /config/application.rb | |
parent | e82b0a77e348419bb4c4ed736ac126e22358eac0 (diff) | |
download | redmine-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.rb | 2 |
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. |