Add backwards compatible support for a fallback locale.
This PR adds tests for the overridden route() helper and helps handle a case where the provided locale is not present in the supported locales. The original behaviour is maintained if a fallback locale is not provided.
Add backwards compatible support for a fallback locale.
This PR adds tests for the overridden
route()
helper and helps handle a case where the provided locale is not present in the supported locales. The original behaviour is maintained if a fallback locale is not provided.