Fix menu links

This commit is contained in:
Samuel Štancl 2019-09-21 19:55:02 +02:00
parent 4175a60f85
commit 478452d1eb
2 changed files with 4 additions and 1 deletions

View file

@ -43,4 +43,7 @@ return [
'url' => function ($page, $path) {
return starts_with($path, 'http') ? $path : '/'.trimPath($path);
},
'isUrl' => function ($page, $path) {
return starts_with($path, 'http');
},
];