BookStack\Http\Controllers\BookController::showDelete PHP Method

showDelete() public method

Shows the page to confirm deletion
public showDelete ( $bookSlug ) : Illuminate\View\View
$bookSlug
return Illuminate\View\View
    public function showDelete($bookSlug)
    {
        $book = $this->bookRepo->getBySlug($bookSlug);
        $this->checkOwnablePermission('book-delete', $book);
        $this->setPageTitle('Delete Book ' . $book->getShortName());
        return view('books/delete', ['book' => $book, 'current' => $book]);
    }