]> BookStack Code Mirror - bookstack/blobdiff - app/Entities/Book.php
Update settings.php
[bookstack] / app / Entities / Book.php
index df0d992284795232a7af98e6410a7c4797d43e17..38b7d4a8c29d3361652192d703a8362029bd62e4 100644 (file)
@@ -19,7 +19,7 @@ class Book extends Entity implements HasCoverImage
     public $searchFactor = 2;
 
     protected $fillable = ['name', 'description'];
-    protected $hidden = ['restricted'];
+    protected $hidden = ['restricted', 'pivot'];
 
     /**
      * Get the url for this book.