fixed fast create

This commit is contained in:
vedatakd 2021-06-23 09:50:23 +03:00
parent bb150fabb4
commit afda1893d1

View File

@ -27,9 +27,13 @@ class AdvModel extends AdvsAdvsEntryModel implements AdvInterface
]; ];
public function getDetailUrlAttribute() public function getDetailUrlAttribute()
{
// Checking for slug
if($this->attributes)
{ {
return $this->getAdvDetailLinkByModel($this, 'list'); return $this->getAdvDetailLinkByModel($this, 'list');
} }
}
public function getCurrencyPriceAttribute() public function getCurrencyPriceAttribute()
{ {