]> BookStack Code Mirror - bookstack/blobdiff - app/Entities/Models/Page.php
Guest create page: name field autofocus
[bookstack] / app / Entities / Models / Page.php
index 8dd769e1cdb25d2c8dc7db3905e9500b6ca50823..a224071ccc144611ceb1befc104d9c421f65210a 100644 (file)
@@ -39,7 +39,7 @@ class Page extends BookChild
 
     public $textField = 'text';
 
-    protected $hidden = ['html', 'markdown', 'text', 'restricted', 'pivot', 'deleted_at'];
+    protected $hidden = ['html', 'markdown', 'text', 'pivot', 'deleted_at'];
 
     protected $casts = [
         'draft'    => 'boolean',
@@ -88,8 +88,6 @@ class Page extends BookChild
 
     /**
      * Get the current revision for the page if existing.
-     *
-     * @return PageRevision|null
      */
     public function currentRevision(): HasOne
     {