diff --git a/config/application.rb b/config/application.rb index 8c02913c2..8344d5071 100644 --- a/config/application.rb +++ b/config/application.rb @@ -11,10 +11,10 @@ module SplatApp # Initialize configuration defaults for originally generated Rails version. config.load_defaults 7.1 - # Please, add to the `ignore` list any other `lib` subdirectories that do - # not contain `.rb` files, or that should not be reloaded or eager loaded. - # Common ones are `templates`, `generators`, or `middleware`, for example. - config.autoload_lib(ignore: %w[assets tasks]) + # Include the `lib` directory in autoload paths. Use the `ignore:` option + # to list subdirectories that don't contain `.rb` files or that shouldn't + # be reloaded or eager loaded. + config.autoload_lib ignore: %w[ assets tasks ] # Configuration for the application, engines, and railties goes here. #