Skip to content

Commit

Permalink
Added external lib folder to autoload to allow custom class to be loa…
Browse files Browse the repository at this point in the history
…ded into OnDemand (#3307)
  • Loading branch information
abujeda authored Jan 25, 2024
1 parent 7ac4846 commit ed5f538
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/dashboard/config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class Application < Rails::Application
# Ensuring OOD initializers run last so that user's cannot override what we
# specify unless we allow the override as well in our own initializers.
config.paths["config/initializers"] << ::Configuration.config_root.join("initializers").to_s
config.autoload_paths << ::Configuration.config_root.join("lib").to_s
config.paths["app/views"].unshift ::Configuration.config_root.join("views").to_s
end
end
Expand Down

0 comments on commit ed5f538

Please sign in to comment.