Skip to content

Commit 2eea95e

Browse files
committed
Silence warnings about I18n defaults
1 parent 175d857 commit 2eea95e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

config/application.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,7 @@ class Application < Rails::Application
4646
end
4747
end
4848
end
49-
end
49+
end
50+
51+
# Silence warnings about this defaulting to true
52+
I18n.enforce_available_locales = true

0 commit comments

Comments
 (0)