Module: ActiveRecord::Dbt::Configuration::I18nConfiguration
- Included in:
- ActiveRecord::Dbt::Config
- Defined in:
- lib/active_record/dbt/configuration/i18n_configuration.rb
Instance Method Summary collapse
Instance Method Details
#locale=(locale = I18n.locale) ⇒ Object
7 8 9 10 |
# File 'lib/active_record/dbt/configuration/i18n_configuration.rb', line 7 def locale=(locale = I18n.locale) I18n.load_path += Rails.root.glob('config/locales/**/*.{rb,yml}') I18n.locale = locale end |