mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-24 03:00:12 +01:00
Merge pull request #2154 from TracksApp/fix-loading-issues
Update the autoloading paths
This commit is contained in:
commit
be68ed5606
2 changed files with 2 additions and 1 deletions
|
|
@ -21,7 +21,8 @@ module Tracksapp
|
|||
|
||||
# Custom directories with classes and modules you want to be autoloadable.
|
||||
# config.autoload_paths += %W(#{config.root}/extras)
|
||||
config.autoload_paths += Dir["#{config.root}/lib/**/"]
|
||||
config.autoload_paths += %W(#{config.root}/lib)
|
||||
config.eager_load_paths += %W(#{config.root}/lib)
|
||||
|
||||
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
||||
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue