mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
edits & typo fixes
This commit is contained in:
parent
133d6ffa50
commit
94afe2bc6a
|
@ -74,8 +74,8 @@ final class Company extends SnipeModel
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adding scope to table queires, where only authorized users will be able to see a company's ID value
|
* Scoping table queries, determining if a logged in user is part of a company, and only allows
|
||||||
*
|
* that user to see items associated with that company
|
||||||
*/
|
*/
|
||||||
private static function scopeCompanyablesDirectly($query, $column = 'company_id', $table_name = null)
|
private static function scopeCompanyablesDirectly($query, $column = 'company_id', $table_name = null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue