Permalink
Browse files

Fixed relative paths for config.autoload_paths

  • Loading branch information...
ndbroadbent committed Aug 13, 2011
1 parent 90279e8 commit d47ce2530fc5c7bbe28ff852e6ace2048a8ff8f5
Showing with 1 addition and 1 deletion.
  1. +1 −1 config/application.rb
View
@@ -19,7 +19,7 @@ class Application < Rails::Application
# -- all .rb files in that directory are automatically loaded.
# Custom directories with classes and modules you want to be autoloadable.
- config.autoload_paths += %W(app/models/issue_trackers)
+ config.autoload_paths += [Rails.root.join("app/models/issue_trackers")]
# Only load the plugins named here, in the order given (default is alphabetical).
# :all can be used as a placeholder for all plugins not explicitly named.

0 comments on commit d47ce25

Please sign in to comment.