1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-31 15:24:31 +03:00

Default Templates: Started review and updates from PR code

This commit is contained in:
Dan Brown
2023-12-11 12:33:20 +00:00
parent 968bc8cdf3
commit d61f42a377
11 changed files with 39 additions and 51 deletions

View File

@ -20,6 +20,7 @@ use Illuminate\Support\Collection;
* @property \Illuminate\Database\Eloquent\Collection $pages
* @property \Illuminate\Database\Eloquent\Collection $directPages
* @property \Illuminate\Database\Eloquent\Collection $shelves
* @property ?Page $defaultTemplate
*/
class Book extends Entity implements HasCoverImage
{
@ -27,7 +28,7 @@ class Book extends Entity implements HasCoverImage
public $searchFactor = 1.2;
protected $fillable = ['name', 'description', 'default_template'];
protected $fillable = ['name', 'description'];
protected $hidden = ['pivot', 'image_id', 'deleted_at'];
/**