1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

I18n is always loaded on boot by Active Model or Action Pack, so no need for supporting lazy hooks.

This commit is contained in:
José Valim 2010-11-20 19:39:30 +01:00
parent 206e48e8b9
commit 8d8062190d

View file

@ -7,4 +7,3 @@ rescue LoadError => e
end
I18n.load_path << "#{File.dirname(__FILE__)}/locale/en.yml"
ActiveSupport.run_load_hooks(:i18n)