1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Removed use of book_id in activity

This commit is contained in:
Dan Brown
2020-11-07 23:15:13 +00:00
parent c157dc3490
commit ee7e1122d3
10 changed files with 51 additions and 40 deletions

View File

@ -97,7 +97,7 @@ class BookController extends Controller
if ($bookshelf) {
$bookshelf->appendBook($book);
Activity::add($bookshelf, ActivityType::BOOKSHELF_UPDATE);
Activity::addForEntity($bookshelf, ActivityType::BOOKSHELF_UPDATE);
}
return redirect($book->getUrl());