diff --git a/config/application.rb b/config/application.rb index dba5ec3857..ff4dc3821a 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