From 47c946aa053c94cd628f3c7cb5d6cdbfea42679b Mon Sep 17 00:00:00 2001 From: Hayden Rouille Date: Thu, 18 Apr 2024 17:36:34 -0400 Subject: [PATCH] Add back autoloaded paths --- backend/config/application.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/backend/config/application.rb b/backend/config/application.rb index ec6c5ee2..48e71f31 100644 --- a/backend/config/application.rb +++ b/backend/config/application.rb @@ -23,6 +23,12 @@ class Application < Rails::Application # Initialize configuration defaults for originally generated Rails version. config.load_defaults 5.0 + config.autoload_paths << Rails.root.join("lib") + config.autoload_paths << Rails.root.join("lib/*") + config.autoload_paths << Rails.root.join("lib/**/*") + config.autoload_paths << Rails.root.join("app/serializers/concerns") + config.autoload_paths << Rails.root.join("app/serializers/api/v1/concerns") + # Configuration for the application, engines, and railties goes here. # # These settings can be overridden in specific environments using the files