mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
editor form
This commit is contained in:
@ -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 = [];
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -58,6 +58,6 @@ class WikiSectionModel extends Model
|
||||
*/
|
||||
public function sections() : array
|
||||
{
|
||||
return $this->where('role','admin')->findAll();
|
||||
return $this->findAll();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user