This commit is contained in:
2018-11-04 14:56:24 -06:00
parent 9f545dcee7
commit 8b89fb6832
5 changed files with 48 additions and 7 deletions
+1 -2
View File
@@ -45,8 +45,7 @@ class User extends Authenticatable
public function hasRole($role)
{
dd(User::where('role', 'Admin')->get());
return User::where('role', $role)->get();
//return User::where('role', $role)->get();
}
public function getUserType() {