Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
Add lib to eager_load_paths
Browse files Browse the repository at this point in the history
Part if the libraries should probably be moved to app/lib.
For the framework updates we just add lib to the eager_load_path
  • Loading branch information
ZeroPointEnergy committed May 2, 2018
1 parent 69cc186 commit 8a68745
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/lib

This file was deleted.

3 changes: 3 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@ class Application < Rails::Application
# Application configuration can go into files in config/initializers
# -- all .rb files in that directory are automatically loaded after loading
# the framework and any gems in your application.

# TODO: We will have to move to move this to app/lib eventually
Rails.application.config.eager_load_paths << Rails.root.join('lib')
end
end

0 comments on commit 8a68745

Please sign in to comment.