You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently AutoLocale tries to set `I18n.locale` to nil when the
Accept-Language header is missing, which leads to "nil is not a valid
locale" error when `I18n.config.enforce_available_locales` is
true (default).
This commit fixes the problem by defaulting the header value to
`I18n.default_locale`.
0 commit comments