Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes switch_locale not adding locale if missing from URL (#871)
If the two letter language code was missing in the URI, switch_locale(locale) didn't add it (it worked fine if it was present). That means that it produced the same URL for all locales, each missing the two letter language code in the URL.
- Loading branch information