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

Fixed inaccessible revisions, added regression tests

Fixes #309
This commit is contained in:
Dan Brown
2017-02-25 12:29:01 +00:00
parent 4a2a539c08
commit 387047f262
5 changed files with 68 additions and 17 deletions

View File

@ -86,8 +86,7 @@ class EntityRepo
$this->entities = [
'page' => $this->page,
'chapter' => $this->chapter,
'book' => $this->book,
'page_revision' => $this->pageRevision
'book' => $this->book
];
$this->viewService = $viewService;
$this->permissionService = $permissionService;