fixed all companies scope

This commit is contained in:
Denis Duliçi 2021-01-28 18:20:41 +03:00
parent 86753ad119
commit 92e9945494

View File

@ -45,7 +45,7 @@ abstract class Model extends Eloquent
*/
public function scopeAllCompanies($query)
{
return $query->withoutGlobalScope(Company::class);
return $query->withoutGlobalScope('App\Scopes\Company');
}
/**