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:
Jonathan Reinink 2019-04-03 07:50:04 -04:00 committed by GitHub
commit a6dd900b93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);