1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Added chapters to the API

This commit is contained in:
Dan Brown
2020-05-23 00:28:41 +01:00
parent 24bad5034a
commit 8a6cf0cdec
24 changed files with 575 additions and 31 deletions

View File

@ -12,6 +12,7 @@ class Chapter extends BookChild
public $searchFactor = 1.3;
protected $fillable = ['name', 'description', 'priority', 'book_id'];
protected $hidden = ['restricted', 'pivot'];
/**
* Get the pages that this chapter contains.