Created
September 3, 2013 10:44
-
-
Save BartlomiejSkwira/6422334 to your computer and use it in GitHub Desktop.
rails config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #load all subdirectories of config/locales | |
| config.i18n.load_path += Dir[File.join(MY_ROOT, 'config', 'locales', '**', '*.{rb,yml}')] | |
| #validate locales | |
| config.i18n.enforce_available_locales = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment