Upgrade to rc5
This commit is contained in:
@@ -116,7 +116,7 @@ class LanguageRoutes
|
||||
'action' => function () use ($kirby) {
|
||||
|
||||
// find all languages with the same base url as the current installation
|
||||
$languages = $kirby->languages()->filterBy('baseurl', $kirby->url());
|
||||
$languages = $kirby->languages()->filter('baseurl', $kirby->url());
|
||||
|
||||
// if there's no language with a matching base url,
|
||||
// redirect to the default language
|
||||
|
Reference in New Issue
Block a user