Skip to content

Commit be48bc7

Browse files
authored
Merge pull request #1 from wesort/patch-1
URLs instead of IDs
2 parents 69f9f66 + b7c1175 commit be48bc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/SvgOutput/SvgOutputTags.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class SvgOutputTags extends Tags
99
{
1010
public function index()
1111
{
12-
$asset = Asset::find($this->get('id'));
12+
$asset = Asset::find($this->get('url'));
1313
$class = $this->get('class');
1414
$svg = $asset->disk()->get($asset->path());
1515
$pattern = '/(<svg\s+.*?class=".*?)(".*)/';

0 commit comments

Comments
 (0)