mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-24 22:11:01 -06:00
fixed fast create
This commit is contained in:
parent
bb150fabb4
commit
afda1893d1
@ -28,7 +28,11 @@ class AdvModel extends AdvsAdvsEntryModel implements AdvInterface
|
|||||||
|
|
||||||
public function getDetailUrlAttribute()
|
public function getDetailUrlAttribute()
|
||||||
{
|
{
|
||||||
return $this->getAdvDetailLinkByModel($this, 'list');
|
// Checking for slug
|
||||||
|
if($this->attributes)
|
||||||
|
{
|
||||||
|
return $this->getAdvDetailLinkByModel($this, 'list');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCurrencyPriceAttribute()
|
public function getCurrencyPriceAttribute()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user