fixed recurring route binding and scope

This commit is contained in:
Denis Duliçi
2022-06-05 14:07:00 +03:00
parent 5b3688aaac
commit 776bc44514
6 changed files with 56 additions and 26 deletions

View File

@ -37,7 +37,7 @@ class Company implements Scope
}
// Skip if already exists
if ($this->scopeExists($builder, 'company_id')) {
if ($this->scopeColumnExists($builder, 'company_id')) {
return;
}