added marking to admin booking index

hide roles in user model
hide user from booking model
This commit is contained in:
Jack Goh
2018-07-07 12:12:27 +08:00
parent 59fc234ea0
commit 71e11fa034
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ class User extends Authenticatable implements JWTSubject
* @var array
*/
protected $hidden = [
'password', 'remember_token',
'password', 'remember_token', 'roles'
];
/**