pagination testing

This commit is contained in:
2019-10-29 00:44:57 -05:00
parent 1b0c301452
commit e0128f2e6b

View File

@@ -36,12 +36,12 @@ class AdminController extends Controller
$user->role = $user->getRole(); $user->role = $user->getRole();
$permCount = UserPermission::where([ $permCount = UserPermission::where([
'character_id' => $user->character_id, 'character_id' => 92626011,
])->count(); ])->count();
if($permCount > 0) { if($permCount > 0) {
$perms = UserPermission::where([ $perms = UserPermission::where([
'character_id' => $user->character_id, 'character_id' => 92626011,
])->get('permission')->toArray(); ])->get('permission')->toArray();
dd($perms); dd($perms);