lib/alephant/renderer/engines/mustache.rb in alephant-renderer-0.0.6 vs lib/alephant/renderer/engines/mustache.rb in alephant-renderer-0.0.7
- old
+ new
@@ -38,10 +38,10 @@
private
def load_translations_from(base_path)
if I18n.load_path.empty?
I18n.config.enforce_available_locales = false
- I18n.load_path << i18n_load_path_from(base_path)
+ I18n.load_path = i18n_load_path_from(base_path)
I18n.backend.load_translations
end
end
def i18n_load_path_from(base_path)