diff --git a/web/app/PhyreBlade.php b/web/app/PhyreBlade.php index 05cb9cc..bc404ee 100644 --- a/web/app/PhyreBlade.php +++ b/web/app/PhyreBlade.php @@ -20,6 +20,9 @@ public static function render($file, $data = []) $hints = app()->view->getFinder()->getHints(); if (isset($hints[$namespace])) { $path = $hints[$namespace][0] . '/' . $file; + } else { + $viewsPath = app()->view->getFinder()->getPaths()[0]; + $path = $viewsPath . '/' . $file; } if (!is_file($path)) {