Merge pull request #3 from diaafares/Fix-for-the-displayed-Roles-at-Users-grid
Fix for displayed Roles at Manage Users grid
This commit is contained in:
commit
a6dd900b93
|
@ -13,6 +13,10 @@ class User extends Model implements AuthenticatableContract, AuthorizableContrac
|
||||||
{
|
{
|
||||||
use SoftDeletes, Authenticatable, Authorizable;
|
use SoftDeletes, Authenticatable, Authorizable;
|
||||||
|
|
||||||
|
protected $casts = [
|
||||||
|
'owner' => 'boolean',
|
||||||
|
];
|
||||||
|
|
||||||
public function account()
|
public function account()
|
||||||
{
|
{
|
||||||
return $this->belongsTo(Account::class);
|
return $this->belongsTo(Account::class);
|
||||||
|
|
Loading…
Reference in New Issue