Skip to content

Commit

Permalink
Add back autoloaded paths
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenrou committed Apr 18, 2024
1 parent cf12b55 commit 47c946a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions backend/config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 47c946a

Please sign in to comment.