]> BookStack Code Mirror - bookstack/commitdiff
test
authorNilesh Deepak <redacted>
Wed, 28 Jun 2017 13:26:17 +0000 (18:56 +0530)
committerNilesh Deepak <redacted>
Wed, 28 Jun 2017 13:26:17 +0000 (18:56 +0530)
app/Http/Controllers/BookController.php

index 2e0a76b39e56a69bea5facf1e067b09284a15718..4313a4e2082a246bcf908db46a9f0814c8fcdec2 100644 (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
     }
 
     /**