From 70dc9a170eb054eccee724f41360b4351ba1eb47 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Sat, 25 Dec 2021 20:51:55 +0000 Subject: [PATCH] Remove unnecessary config.autoload_paths --- config/application.rb | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/config/application.rb b/config/application.rb index 2d6822bf45..c479a7daee 100644 --- a/config/application.rb +++ b/config/application.rb @@ -152,17 +152,6 @@ module Openfoodnetwork end end - # Settings in config/environments/* take precedence over those specified here. - # Application configuration should go into files in config/initializers - # -- 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}/app/models/concerns - #{config.root}/app/presenters - #{config.root}/app/jobs - ) - initializer "ofn.reports" do |app| module ::Reporting; end loader = Zeitwerk::Loader.new