fix slider

This commit is contained in:
2024-12-10 11:56:33 +03:00
parent bfeb2d3c56
commit c7549c225f
11 changed files with 50 additions and 11 deletions

View File

@ -18,9 +18,9 @@ class Slider extends Model
const int ACTIVE_STATUS = 1;
protected $table = "slider";
protected $fillable = ['title', 'additional_information', 'content', 'link'];
protected $fillable = ['title', 'additional_information', 'content', 'link', 'status'];
public static function labels()
public static function labels(): array
{
return [
'title' => 'Заголовок',