Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

enable zeitwerk

ulfertse695ba4d3bf1
diff --git a/config/application.rb b/config/application.rb
index dba5ec3857b..ff4dc3821aa 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -122,6 +122,7 @@ module OpenProject
# http://stackoverflow.com/questions/4590229
config.middleware.use Rack::TempfileReaper
+ config.autoloader = :zeitwerk
# Custom directories with classes and modules you want to be autoloadable.
config.enable_dependency_loading = true
config.paths.add Rails.root.join('lib').to_s, eager_load: true