X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/da1cea06ca5db56a9635bf8bb01da2516d601620..refs/pull/2511/head:/resources/views/books/index.blade.php diff --git a/resources/views/books/index.blade.php b/resources/views/books/index.blade.php index f3c3ee34b..81fb66cfc 100644 --- a/resources/views/books/index.blade.php +++ b/resources/views/books/index.blade.php @@ -36,7 +36,7 @@
{{ trans('common.actions') }}
- @if($currentUser->can('book-create-all')) + @if(user()->can('book-create-all')) @icon('add') {{ trans('entities.books_create') }}