lib/codebreaker/i18n_config.rb in codebreaker_artuomka-0.1.7 vs lib/codebreaker/i18n_config.rb in codebreaker_artuomka-0.1.8
- old
+ new
@@ -1 +1 @@
-I18n.load_path << Dir[File.expand_path('lib/codebreaker/locales/') + '/*.yml']
+I18n.load_path << Dir.glob( File.dirname(__FILE__) + "/locales/*.{yml}" )