feat: add action to slider
This commit is contained in:
@@ -6,5 +6,9 @@
|
||||
|
||||
class Slider extends Model
|
||||
{
|
||||
protected $fillable = ['title', 'description', 'url'];
|
||||
protected $fillable = ['title', 'description', 'url','action'];
|
||||
|
||||
protected $casts = [
|
||||
'action' => 'array', // auto convert JSON to array
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user