This commit is contained in:
f4ilji
2024-10-04 12:48:19 +05:00
parent 21a6e9073b
commit cebc584a14
303 changed files with 8224 additions and 2563 deletions
+5
View File
@@ -18,6 +18,11 @@ class Page extends Model
return $this->belongsTo(SubSection::class, 'sub_section_id');
}
public function seo()
{
return $this->morphOne(Seo::class, 'seoable');
}
protected $casts = [
'content' => 'array',
];