Skip to content

Commit 23c0b9a

Browse files
committed
update
1 parent 6d2f1cd commit 23c0b9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function path($path = null, $app = null)
7474
*/
7575
function svg($src)
7676
{
77-
return file_get_contents(path('public/assets/svg/'.trim($src, '/').'.svg'));
77+
return asset('assets/svg/'.trim($src, '/').'.svg');
7878
}
7979

8080
/**

0 commit comments

Comments
 (0)