Skip to content
Browse files

Rails.root -> config.root in application config

  • Loading branch information...
1 parent ee37c9b commit bf8b0407fab7e22a1d636e3017c4a5ea019335a2 @dimko dimko committed May 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 config/application.rb
View
2 config/application.rb
@@ -14,7 +14,7 @@ class Application < Rails::Application
# Custom directories with classes and modules you want to be autoloadable.
# config.autoload_paths += %W(#{config.root}/extras)
- config.autoload_paths += %W{#{Rails.root}/lib}
+ config.autoload_paths += %W(#{config.root}/lib)
# 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 bf8b040

Please sign in to comment.
Something went wrong with that request. Please try again.