app/Models/Card.php: Add "subject_type" to appends array.
This commit is contained in:
parent
65d7f4cdbe
commit
07de4a54fa
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ class Card extends Model
|
|||
|
||||
public $timestamps = false;
|
||||
|
||||
protected $appends = ['subject'];
|
||||
protected $appends = ['subject', 'subject_type'];
|
||||
|
||||
public $fillable = [
|
||||
'body',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue