+ session()->flash('success', 'Page deleted');
+ $this->pageRepo->destroy($page);
+ return redirect($book->getUrl());
+ }
+
+ /**
+ * Remove the specified draft page from storage.
+ * @param $bookSlug
+ * @param $pageId
+ * @return Response
+ * @throws NotFoundException
+ */
+ public function destroyDraft($bookSlug, $pageId)
+ {
+ $book = $this->bookRepo->getBySlug($bookSlug);
+ $page = $this->pageRepo->getById($pageId, true);
+ $this->checkOwnablePermission('page-update', $page);
+ session()->flash('success', 'Draft deleted');