debugging

This commit is contained in:
2018-11-04 14:47:35 -06:00
parent 84264d741d
commit 85011c033f

View File

@@ -45,7 +45,7 @@ class User extends Authenticatable
public function hasRole($role)
{
$something = User::where('role', $role)->get();
$something = User::where('role')->get();
dd($something);
return User::where('role', $role)->get();
}