diff --git a/app/Http/Controllers/BookController.php b/app/Http/Controllers/BookController.php index 2e0a76b39..4313a4e20 100644 --- a/app/Http/Controllers/BookController.php +++ b/app/Http/Controllers/BookController.php @@ -41,7 +41,7 @@ class BookController extends Controller $popular = $this->entityRepo->getPopular('book', 3, 0); $display = $this->currentUser->display; $this->setPageTitle('Books'); - return view('books/index', ['books' => $books, 'recents' => $recents, 'popular' => $popular, 'display' => $display]); //added displaly to access user display + return view('books/index', ['books' => $books, 'recents' => $recents, 'popular' => $popular, 'display' => $display]); //added displaly to access user display } /**