Skip to content

Commit 3de3332

Browse files
committed
minor #386 [UxSite] Fixing missing slash on image path (weaverryan)
This PR was merged into the 2.x branch. Discussion ---------- [UxSite] Fixing missing slash on image path | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Tickets | Fix #381 | License | MIT It's a bit odd that it worked at all, but this fixes the problem. The code is still a pretty "cheap" way (i.e. hardcoded) to get the path, but it should work fine for now. Cheers! Commits ------- c9ffa8b [UxSite] Fixing missing slash on image path
2 parents 6afcd61 + c9ffa8b commit 3de3332

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ux.symfony.com/src/Model/LiveDemo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ public function getRoute(): string
3434

3535
public function getScreenshotFilename(): string
3636
{
37-
return 'build/images/live_demo/'.$this->identifier.'.png';
37+
return '/build/images/live_demo/'.$this->identifier.'.png';
3838
}
3939
}

0 commit comments

Comments
 (0)