diff --git a/config/application.rb b/config/application.rb index 86c1d1c..dcf1ba6 100644 --- a/config/application.rb +++ b/config/application.rb @@ -19,7 +19,7 @@ module Errbit # -- 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. -- libgit2 0.21.2