Commit d47ce2530fc5c7bbe28ff852e6ace2048a8ff8f5

Authored by Nathan Broadbent
1 parent 90279e80
Exists in master and in 1 other branch production

Fixed relative paths for config.autoload_paths

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
config/application.rb
... ... @@ -19,7 +19,7 @@ module Errbit
19 19 # -- all .rb files in that directory are automatically loaded.
20 20  
21 21 # Custom directories with classes and modules you want to be autoloadable.
22   - config.autoload_paths += %W(app/models/issue_trackers)
  22 + config.autoload_paths += [Rails.root.join("app/models/issue_trackers")]
23 23  
24 24 # Only load the plugins named here, in the order given (default is alphabetical).
25 25 # :all can be used as a placeholder for all plugins not explicitly named.
... ...