Fix for displayed Roles at Users grid

This commit is contained in:
Diaa Fares 2019-04-03 12:24:11 +03:00
parent 75cdc8df43
commit 3fa08f9084
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,10 @@ class User extends Model implements AuthenticatableContract, AuthorizableContrac
{
use SoftDeletes, Authenticatable, Authorizable;
protected $casts = [
'owner' => 'boolean',
];
public function account()
{
return $this->belongsTo(Account::class);