Upgrade to 3.6.0
This commit is contained in:
@@ -61,9 +61,6 @@ class Url extends BaseUrl
|
||||
public static function to(string $path = null, $options = null): string
|
||||
{
|
||||
$kirby = App::instance();
|
||||
|
||||
return ($kirby->component('url'))($kirby, $path, $options, function (string $path = null, $options = null) use ($kirby) {
|
||||
return ($kirby->nativeComponent('url'))($kirby, $path, $options);
|
||||
});
|
||||
return ($kirby->component('url'))($kirby, $path, $options);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user