Skip to content

Commit

Permalink
Merge pull request #3 from batenburg/patch-1
Browse files Browse the repository at this point in the history
Update helpers.php
  • Loading branch information
adammatysiak authored Mar 14, 2018
2 parents f118c78 + 6bac44f commit 0ff0b70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Support/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}

0 comments on commit 0ff0b70

Please sign in to comment.