mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-04-10 08:40:27 +08:00
Merge branch 'new_bookshelf_cover_fix' of git://github.com/TBK/BookStack into TBK-new_bookshelf_cover_fix
This commit is contained in:
commit
98ab3c1ffb
@ -90,7 +90,7 @@ class BookshelfController extends Controller
|
||||
|
||||
$bookIds = explode(',', $request->get('books', ''));
|
||||
$shelf = $this->bookshelfRepo->create($request->all(), $bookIds);
|
||||
$this->bookshelfRepo->updateCoverImage($shelf);
|
||||
$this->bookshelfRepo->updateCoverImage($shelf, $request->file('image', null));
|
||||
|
||||
Activity::add($shelf, 'bookshelf_create');
|
||||
return redirect($shelf->getUrl());
|
||||
|
Loading…
x
Reference in New Issue
Block a user