]> BookStack Code Mirror - bookstack/blobdiff - app/Entities/Models/Page.php
Fixes for CodeStyle vol.2
[bookstack] / app / Entities / Models / Page.php
index a3a04f403b9242456c4235b506332c720e78557f..aeee50d0f72e881564f9d236324508e01d48eb7c 100644 (file)
@@ -25,8 +25,8 @@ use Permissions;
  */
 class Page extends BookChild
 {
-    public static $listAttributes = ['name', 'id', 'slug', 'book_id', 'text', 'created_at', 'updated_at'];
-    public static $contentAttributes = ['name', 'id', 'slug', 'book_id', 'html', 'text', 'created_at', 'updated_at'];
+    public static $listAttributes = ['name', 'id', 'slug', 'book_id', 'chapter_id', 'draft', 'template', 'text', 'created_at', 'updated_at'];
+    public static $contentAttributes = ['name', 'id', 'slug', 'book_id', 'chapter_id', 'draft', 'template', 'html', 'text', 'created_at', 'updated_at'];
 
     protected $fillable = ['name', 'priority', 'markdown'];