diff options
author | José Valim <jose.valim@gmail.com> | 2010-02-20 15:46:55 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-02-20 15:46:55 +0100 |
commit | fed72b5842e5e8604917602a15c126d48cf12fde (patch) | |
tree | d99a64cf9b118dc8576af1d63c8a9d9937fdc300 /activesupport | |
parent | 9acd686753c43612984aaa4002e80113fda2b255 (diff) | |
download | rails-fed72b5842e5e8604917602a15c126d48cf12fde.tar.gz rails-fed72b5842e5e8604917602a15c126d48cf12fde.tar.bz2 rails-fed72b5842e5e8604917602a15c126d48cf12fde.zip |
Rename engines_load_path to railties_load_path.
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/railtie.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/railtie.rb b/activesupport/lib/active_support/railtie.rb index c8d8b85000..58d11585ba 100644 --- a/activesupport/lib/active_support/railtie.rb +++ b/activesupport/lib/active_support/railtie.rb @@ -33,7 +33,7 @@ module I18n railtie_name :i18n # Initialize I18n load paths to an array - config.i18n.engines_load_path = [] + config.i18n.railties_load_path = [] config.i18n.load_path = [] initializer "i18n.initialize" do @@ -49,7 +49,7 @@ module I18n config.after_initialize do |app| app.config.i18n.each do |setting, value| case setting - when :engines_load_path + when :railties_load_path app.config.i18n.load_path.unshift(*value) when :load_path I18n.load_path += value |