enable zeitwerk

pull/8045/head
ulferts 5 years ago
parent 61026b9069
commit e695ba4d3b
No known key found for this signature in database
GPG Key ID: A205708DE1284017
  1. 1
      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

Loading…
Cancel
Save