Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Письменов Дмитрий Иванович
/
yourroomads
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3fa08f90
authored
Apr 03, 2019
by
Diaa Fares
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for displayed Roles at Users grid
1 parent
75cdc8df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
app/User.php
app/User.php
View file @
3fa08f9
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment