X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/5c9c1d1a4bf71c04e802cbdb39f2a1dff3ff6515..eb76e882c5544e319e5084fedcc7cdac0bdf6c2d:/app/Http/Controllers/BookshelfController.php diff --git a/app/Http/Controllers/BookshelfController.php b/app/Http/Controllers/BookshelfController.php index 03b3cad54..b4795db09 100644 --- a/app/Http/Controllers/BookshelfController.php +++ b/app/Http/Controllers/BookshelfController.php @@ -1,6 +1,7 @@ values() ->all(); - Views::add($shelf); + View::incrementFor($shelf); $this->entityContextManager->setShelfContext($shelf->id); $view = setting()->getForCurrentUser('bookshelf_view_type');