mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/unity.git
synced 2026-08-23 14:24:08 +00:00
hide id
This commit is contained in:
@@ -15,7 +15,13 @@ class Permission extends Model
|
||||
'pivot'
|
||||
];
|
||||
|
||||
protected $appends = ['hash_id'];
|
||||
protected $appends = [
|
||||
'hash_id'
|
||||
];
|
||||
|
||||
protected $hidden = [
|
||||
'id',
|
||||
];
|
||||
|
||||
public function getHashIdAttribute()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user