We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d2f1cd commit 23c0b9aCopy full SHA for 23c0b9a
src/helpers.php
@@ -74,7 +74,7 @@ function path($path = null, $app = null)
74
*/
75
function svg($src)
76
{
77
- return file_get_contents(path('public/assets/svg/'.trim($src, '/').'.svg'));
+ return asset('assets/svg/'.trim($src, '/').'.svg');
78
}
79
80
/**
0 commit comments