Skip to content

Commit 608a4e1

Browse files
committed
Merge pull request activeadmin#2072 from ericpromislow/master
Fix the translation_missing error
2 parents 416b879 + 0f0bd9e commit 608a4e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/active_admin.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ class Railtie < ::Rails::Railtie
5858
# Add load paths straight to I18n, so engines and application can overwrite it.
5959
require 'active_support/i18n'
6060
I18n.load_path.unshift *Dir[File.expand_path('../active_admin/locales/*.yml', __FILE__)]
61+
I18n.reload!
6162
end
6263
end
6364

0 commit comments

Comments
 (0)