Change method name from userloc to location

This needs to be changed in more places though
This commit is contained in:
snipe
2017-10-31 05:22:57 -07:00
parent f4e7bfc28d
commit 121e158f39
2 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ class UsersController extends Controller
'users.activated',
'users.avatar',
])->with('manager', 'groups', 'userloc', 'company', 'department','throttle','assets','licenses','accessories','consumables')
])->with('manager', 'groups', 'location', 'company', 'department','throttle','assets','licenses','accessories','consumables')
->withCount('assets','licenses','accessories','consumables');
$users = Company::scopeCompanyables($users);