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);
$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
}
/**