Fixed some label casing and fixed incorrect notifications

Fixed the book & chapter permission update notification stating the 'page permissions' have been updated.
This commit is contained in:
Dan Brown
2016-04-03 12:19:44 +01:00
parent 2bb8c3d914
commit d099885fd1
3 changed files with 5 additions and 5 deletions

View File

@ -267,7 +267,7 @@ class BookController extends Controller
$book = $this->bookRepo->getBySlug($bookSlug);
$this->checkOwnablePermission('restrictions-manage', $book);
$this->bookRepo->updateRestrictionsFromRequest($request, $book);
session()->flash('success', 'Page Restrictions Updated');
session()->flash('success', 'Book Restrictions Updated');
return redirect($book->getUrl());
}
}