🆙 Fix laravel pint spaces 🆙

This commit is contained in:
Remco
2026-01-07 19:35:41 +01:00
parent 711fa2c29e
commit dc418a51a1
13 changed files with 14 additions and 12 deletions
+1
View File
@@ -25,6 +25,7 @@ class WebsiteAd extends Model
if (! str_starts_with((string) $adsPicturePath, 'http')) {
$adsPicturePath = rtrim((string) config('app.url'), '/') . '/' . ltrim((string) $adsPicturePath, '/');
}
return rtrim((string) $adsPicturePath, '/') . '/' . $this->image;
});
}