mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-02-21 00:23:58 +08:00

Fixes #1662 Added a small block of logic to determine the correct URL to attribute to the cancel button on a given page create form. If adding a book from a bookshelf, return to the bookshelf. If editing a book, return to the book. In all other cases, return to the full books list.