Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default Accept-Language to I18n.default_locale #50

Merged
merged 2 commits into from
Oct 15, 2015
Merged

Default Accept-Language to I18n.default_locale #50

merged 2 commits into from
Oct 15, 2015

Commits on Sep 24, 2015

  1. Default Accept-Language to I18n.default_locale

    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`.
    knu committed Sep 24, 2015
    Configuration menu
    Copy the full SHA
    79ab6d3 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2015

  1. Configuration menu
    Copy the full SHA
    aa66da7 View commit details
    Browse the repository at this point in the history