mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 01:47:18 +02:00
parent
ea95bd2f9c
commit
8c474b2465
1 changed files with 3 additions and 3 deletions
|
@ -27,8 +27,8 @@ module Registry
|
|||
# otherwise ActiveRecord usese other class internally.
|
||||
|
||||
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
||||
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
||||
# config.i18n.default_locale = :de
|
||||
config.i18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.yml').to_s]
|
||||
config.i18n.default_locale = :en
|
||||
|
||||
config.paths.add File.join('app', 'api'), glob: File.join('**', '*.rb')
|
||||
config.autoload_paths += Dir[Rails.root.join('app', 'api', '*')]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue