mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
4aded43b73
should run during framework load do: ActiveSupport.on_load(:action_controller) do # Code run in the context of AC::Base end
3 lines
No EOL
110 B
Ruby
3 lines
No EOL
110 B
Ruby
require 'i18n'
|
|
I18n.load_path << "#{File.dirname(__FILE__)}/locale/en.yml"
|
|
ActiveSupport.run_load_hooks(:i18n) |