Applied required changes

This commit is contained in:
Nilesh Deepak
2017-07-05 12:26:02 +05:30
5 changed files with 30 additions and 4 deletions

View File

@ -41,7 +41,7 @@ class BookController extends Controller
$popular = $this->entityRepo->getPopular('book', 3, 0);
$books_display = $this->currentUser->books_display;
$this->setPageTitle('Books');
return view('books/index', ['books' => $books, 'recents' => $recents, 'popular' => $popular, 'books_display' => $books_display]);
return view('books/index', ['books' => $books, 'recents' => $recents, 'popular' => $popular, 'books_display' => $books_display] );
}
/**