Commit a6dd900b by Jonathan Reinink Committed by GitHub

Merge pull request #3 from diaafares/Fix-for-the-displayed-Roles-at-Users-grid

Fix for displayed Roles at Manage Users grid
2 parents 75cdc8df 3fa08f90
Showing with 4 additions and 0 deletions
...@@ -13,6 +13,10 @@ class User extends Model implements AuthenticatableContract, AuthorizableContrac ...@@ -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);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!