Add toUri function to router
This commit is contained in:
@ -24,7 +24,7 @@ class BaseView implements ViewInterface
|
||||
include $path;
|
||||
$output = ob_get_clean();
|
||||
if ($this->extends) {
|
||||
$output = (new BaseView($this->extends, $this->data + ['slot' => $output]))->render($config);
|
||||
return (new BaseView($this->extends, $this->data + ['slot' => $output]))->render($config);
|
||||
}
|
||||
|
||||
return $output;
|
||||
|
Reference in New Issue
Block a user