diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2012-05-10 20:48:23 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2012-05-11 19:00:25 -0300 |
commit | a00228c1a35578c4bf4d462eec977a50120288da (patch) | |
tree | 20330d2bf593e1baa8271655f8f90272338245be /activesupport/lib | |
parent | abd6f4a2b14fb048c95b3211f2c9fe5f1c006bc0 (diff) | |
download | rails-a00228c1a35578c4bf4d462eec977a50120288da.tar.gz rails-a00228c1a35578c4bf4d462eec977a50120288da.tar.bz2 rails-a00228c1a35578c4bf4d462eec977a50120288da.zip |
Lazy load I18n
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/i18n.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/i18n.rb b/activesupport/lib/active_support/i18n.rb index f9c5e5e2f8..188653bd9b 100644 --- a/activesupport/lib/active_support/i18n.rb +++ b/activesupport/lib/active_support/i18n.rb @@ -6,4 +6,5 @@ rescue LoadError => e raise e end +ActiveSupport.run_load_hooks(:i18n) I18n.load_path << "#{File.dirname(__FILE__)}/locale/en.yml" |