BookStack\Http\Controllers\ChapterController::showMove PHP Method

showMove() public method

Show the page for moving a chapter.
public showMove ( $bookSlug, $chapterSlug ) : mixed
$bookSlug
$chapterSlug
return mixed
    public function showMove($bookSlug, $chapterSlug)
    {
        $book = $this->bookRepo->getBySlug($bookSlug);
        $chapter = $this->chapterRepo->getBySlug($chapterSlug, $book->id);
        $this->checkOwnablePermission('chapter-update', $chapter);
        return view('chapters/move', ['chapter' => $chapter, 'book' => $book]);
    }