Skip to content

Commit f118c78

Browse files
authored
Merge pull request #2 from QuentinBontemps/master
fixe helpers resource_path()
2 parents 9f8d334 + d2eaeff commit f118c78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Support/helpers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
*/
1111
function resource_path($path = '')
1212
{
13-
return \Illuminate\Support\Facades\App::basePath('resources' . ($path ? DIRECTORY_SEPARATOR . $path : $path));
13+
return \Illuminate\Support\Facades\App::basePath() . DIRECTORY_SEPARATOR . 'resources' . ($path ? DIRECTORY_SEPARATOR . $path : $path);
1414
}
1515
}

0 commit comments

Comments
 (0)