mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 10:14:03 +00:00
Fix #12
This commit is contained in:
parent
72f447f3dd
commit
2954c3e760
1 changed files with 2 additions and 2 deletions
|
|
@ -41,9 +41,9 @@ return [
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'url' => function ($page, $path) {
|
'url' => function ($page, $path) {
|
||||||
return starts_with($path, 'http') ? $path : '/'.trimPath($path);
|
return starts_with($path, 'http://') ? $path : '/'.trimPath($path);
|
||||||
},
|
},
|
||||||
'isUrl' => function ($page, $path) {
|
'isUrl' => function ($page, $path) {
|
||||||
return starts_with($path, 'http');
|
return starts_with($path, 'http://');
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue