Append to I18n.load_path instead of replacing it

This commit is contained in:
Ben Hollis 2012-04-23 22:03:15 -07:00
parent 83178031d2
commit 9aadbbdca9

View file

@ -12,7 +12,7 @@ module Middleman::CoreExtensions::I18n
# Needed for helpers as well
app.after_configuration do
::I18n.load_path = [Dir[File.join(root, locales_dir, "*.yml")]]
::I18n.load_path += [Dir[File.join(root, locales_dir, "*.yml")]]
::I18n.reload!
end
end