storage url o'zgartirildi
This commit is contained in:
@@ -58,6 +58,11 @@ class Compilation extends Model
|
||||
return $this->belongsToMany(Product::class, 'compilation_products')->where('published', true)->limit(10);
|
||||
}
|
||||
|
||||
public function dashboardProducts()
|
||||
{
|
||||
return $this->belongsToMany(Product::class, 'compilation_products');
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user