Remove unnecessary config.autoload_paths

This commit is contained in:
Matt-Yorkley
2021-12-25 20:51:55 +00:00
parent 6aada422fd
commit 70dc9a170e

View File

@@ -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