Skip to content

Commit

Permalink
Update Permission.php
Browse files Browse the repository at this point in the history
  • Loading branch information
RamonSmit authored Apr 13, 2018
1 parent e6840fa commit 02abe59
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Models/Permission.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,11 @@ class Permission extends Model
'name',
'description'
];

protected $hidden = [
'id',
'created_at',
'updated_at',
'pivot'
];
}

0 comments on commit 02abe59

Please sign in to comment.