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:
parent
206e48e8b9
commit
8d8062190d
1 changed files with 0 additions and 1 deletions
|
@ -7,4 +7,3 @@ rescue LoadError => e
|
||||||
end
|
end
|
||||||
|
|
||||||
I18n.load_path << "#{File.dirname(__FILE__)}/locale/en.yml"
|
I18n.load_path << "#{File.dirname(__FILE__)}/locale/en.yml"
|
||||||
ActiveSupport.run_load_hooks(:i18n)
|
|
||||||
|
|
Loading…
Reference in a new issue