]> BookStack Code Mirror - bookstack/blobdiff - app/Entities/Page.php
Default OpenID display name set to standard value
[bookstack] / app / Entities / Page.php
index 76dc628fbf3f59e0bbbcf98897e715b743638213..32ba2981d807e7a2b2b7a35c7984e523a82448ca 100644 (file)
@@ -21,12 +21,14 @@ use Permissions;
  */
 class Page extends BookChild
 {
-    protected $fillable = ['name', 'html', 'priority', 'markdown'];
+    protected $fillable = ['name', 'priority', 'markdown'];
 
     protected $simpleAttributes = ['name', 'id', 'slug'];
 
     public $textField = 'text';
 
+    protected $hidden = ['html', 'markdown', 'text', 'restricted', 'pivot'];
+
     /**
      * Get the entities that are visible to the current user.
      */