diff --git a/src/Libs/View.php b/src/Libs/View.php index 8b0e7c4..23713f2 100644 --- a/src/Libs/View.php +++ b/src/Libs/View.php @@ -153,7 +153,7 @@ class View extends Neuron { * * @return string */ - public function route(string $path = '/'): string + public static function route(string $path = '/'): string { if (defined('SITE_URL') && !empty(SITE_URL)) return rtrim(SITE_URL, '/').'/'.ltrim($path, '/');