editor form

This commit is contained in:
amazuecos
2025-02-25 18:41:59 +01:00
parent eea947e80b
commit 3406fb3005
23 changed files with 503 additions and 145 deletions

View File

@ -17,7 +17,10 @@ class WikiContentModel extends Model
"locale",
"page_id",
"editor_data",
"published_data"
"published_data",
"last_edit_by",
"published_by",
"published_at"
];
@ -50,4 +53,6 @@ class WikiContentModel extends Model
protected $afterFind = [];
protected $beforeDelete = [];
protected $afterDelete = [];
}

View File

@ -58,6 +58,6 @@ class WikiSectionModel extends Model
*/
public function sections() : array
{
return $this->where('role','admin')->findAll();
return $this->findAll();
}
}