diff options
author | Xavier Noria <fxn@hashref.com> | 2010-06-22 23:17:20 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-06-24 00:17:28 +0200 |
commit | 6f83a5036d8a9c3f8ed74755ff6d42bc3f6e9982 (patch) | |
tree | 08916d1c4d01a93af7f2b4d830417b7d32f271d1 /railties/lib/rails/engine/configuration.rb | |
parent | 4a0a640d33e1c729d38c6091bb1394fbda059b5c (diff) | |
download | rails-6f83a5036d8a9c3f8ed74755ff6d42bc3f6e9982.tar.gz rails-6f83a5036d8a9c3f8ed74755ff6d42bc3f6e9982.tar.bz2 rails-6f83a5036d8a9c3f8ed74755ff6d42bc3f6e9982.zip |
renames load_(once_)paths to autoload_(once_)paths in dependencies and config
Diffstat (limited to 'railties/lib/rails/engine/configuration.rb')
-rw-r--r-- | railties/lib/rails/engine/configuration.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/railties/lib/rails/engine/configuration.rb b/railties/lib/rails/engine/configuration.rb index 446fe0bda9..4e27180f1e 100644 --- a/railties/lib/rails/engine/configuration.rb +++ b/railties/lib/rails/engine/configuration.rb @@ -4,7 +4,7 @@ module Rails class Engine class Configuration < ::Rails::Railtie::Configuration attr_reader :root - attr_writer :eager_load_paths, :load_once_paths, :load_paths + attr_writer :eager_load_paths, :autoload_once_paths, :autoload_paths def initialize(root=nil) super() @@ -41,12 +41,12 @@ module Rails @eager_load_paths ||= paths.eager_load end - def load_once_paths - @load_once_paths ||= paths.load_once + def autoload_once_paths + @autoload_once_paths ||= paths.load_once end - def load_paths - @load_paths ||= paths.load_paths + def autoload_paths + @autoload_paths ||= paths.load_paths end end end |