update to kirby 4.8

This commit is contained in:
isUnknown 2026-02-13 15:40:11 +01:00
commit 7d7df341d1
636 changed files with 139949 additions and 0 deletions

View file

@ -0,0 +1,24 @@
<?php
/**
* Translations Routes
*/
return [
[
'pattern' => 'translations',
'method' => 'GET',
'auth' => false,
'action' => function () {
return $this->kirby()->translations();
}
],
[
'pattern' => 'translations/(:any)',
'method' => 'GET',
'auth' => false,
'action' => function (string $code) {
return $this->kirby()->translations()->find($code);
}
]
];