diff --git a/app/Book.php b/app/Book.php index b4cafd65b..afec7a351 100644 --- a/app/Book.php +++ b/app/Book.php @@ -18,7 +18,7 @@ class Book extends Entity return baseUrl('/books/' . urlencode($this->slug)); } - public function getBookCover($size = 120) + public function getBookCover() { $default = baseUrl('/default.png'); $image = $this->image; diff --git a/resources/views/books/grid-item.blade.php b/resources/views/books/grid-item.blade.php index 839e9f3a3..e546d51e2 100644 --- a/resources/views/books/grid-item.blade.php +++ b/resources/views/books/grid-item.blade.php @@ -7,7 +7,7 @@ @if(isset($book->searchSnippet))