fixed tenancy issue

This commit is contained in:
Denis Duliçi
2021-01-21 14:37:10 +03:00
parent 0486689134
commit b5a7457f25
3 changed files with 6 additions and 0 deletions

View File

@ -49,6 +49,8 @@ class Contact extends Model
*/
protected static function booted()
{
parent::booted();
static::addGlobalScope(new Scope);
}