Skip to content

Commit 2a19eea

Browse files
committed
Roles Update
1 parent 662a397 commit 2a19eea

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/Models/User.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ class User extends Authenticatable
3030
/**
3131
* Append user relations (optional).
3232
*/
33-
// protected $with = ['profile', 'address'];
34-
protected $with = ['profile', 'roles', 'roles_permissions'];
33+
protected $with = [
34+
'profile', 'address', 'roles', 'roles_permissions'
35+
];
3536

3637
/**
3738
* The attributes that are mass assignable.

0 commit comments

Comments
 (0)