Skip to content

Commit 662a397

Browse files
committed
Roles Update
1 parent 8c6573d commit 662a397

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Models/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class User extends Authenticatable
3131
* Append user relations (optional).
3232
*/
3333
// protected $with = ['profile', 'address'];
34-
protected $with = ['profile', 'roles'];
34+
protected $with = ['profile', 'roles', 'roles_permissions'];
3535

3636
/**
3737
* The attributes that are mass assignable.

0 commit comments

Comments
 (0)