Skip to content

Commit

Permalink
fixed all companies scope
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdulici committed Jan 28, 2021
1 parent 86753ad commit 92e9945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Abstracts/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function company()
*/
public function scopeAllCompanies($query)
{
return $query->withoutGlobalScope(Company::class);
return $query->withoutGlobalScope('App\Scopes\Company');
}

/**
Expand Down

0 comments on commit 92e9945

Please sign in to comment.