debugging

This commit is contained in:
2018-11-10 15:05:46 -06:00
parent 84725684b6
commit 0b5d6e7096

View File

@@ -49,7 +49,7 @@ class User extends Authenticatable
public function hasRole($role)
{
$check = User::role()->get();
dd($check);
//dd($check);
if($check['role'] == $role) {
return true;
} else {