moved company scope to trait
This commit is contained in:
@ -80,8 +80,6 @@ class Document extends Model
|
||||
*/
|
||||
protected static function booted()
|
||||
{
|
||||
parent::booted();
|
||||
|
||||
static::addGlobalScope(new Scope);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user