]> BookStack Code Mirror - bookstack/blobdiff - app/Entities/Book.php
Move logFailedAccess into Activity
[bookstack] / app / Entities / Book.php
index 4e54457b80391aa223442d92e065f376a12b86a9..919f60035b23a28628a27ae4d99313c1b3ab5567 100644 (file)
@@ -18,7 +18,8 @@ class Book extends Entity implements HasCoverImage
 {
     public $searchFactor = 2;
 
-    protected $fillable = ['name', 'description', 'image_id'];
+    protected $fillable = ['name', 'description'];
+    protected $hidden = ['restricted'];
 
     /**
      * Get the url for this book.