Fix visible

This commit is contained in:
Ludovic CANDELLIER
2022-02-18 09:46:20 +01:00
parent 6556127cc8
commit 655f502279
2 changed files with 11 additions and 1 deletions

View File

@@ -25,6 +25,16 @@ class Category extends parentCategory
protected $table = 'categories';
public $translatable = ['name', 'description'];
protected $cascadeDeleteMorph = ['Articles'];
protected $fillable = [
'slug',
'name',
'visible',
'description',
NestedSet::LFT,
NestedSet::RGT,
NestedSet::PARENT_ID,
];
public function Articles()
{