1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-11-23 19:32:29 +01:00
This commit is contained in:
Nilesh Deepak 2017-06-28 18:56:17 +05:30
parent 6557fbb666
commit 8924618d12

View File

@ -41,7 +41,7 @@ class BookController extends Controller
$popular = $this->entityRepo->getPopular('book', 3, 0); $popular = $this->entityRepo->getPopular('book', 3, 0);
$display = $this->currentUser->display; $display = $this->currentUser->display;
$this->setPageTitle('Books'); $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
} }
/** /**