diff --git a/src/Support/helpers.php b/src/Support/helpers.php index 52ed3d7..c18a3b8 100644 --- a/src/Support/helpers.php +++ b/src/Support/helpers.php @@ -10,6 +10,6 @@ */ function resource_path($path = '') { - return \Illuminate\Support\Facades\App::basePath() . DIRECTORY_SEPARATOR . 'resources' . ($path ? DIRECTORY_SEPARATOR . $path : $path); + return app()->basePath() . DIRECTORY_SEPARATOR . 'resources' . ($path ? DIRECTORY_SEPARATOR . $path : $path); } -} \ No newline at end of file +}